Docker Swarm – MongoDB 4.4

Exported on 30-Aug-2021 14:55:48

Parameters

Name Type Script Reference Default Value Comment
Linux Node Linux / Unix Server linuxNode
Linux User Linux OS Credential linuxUser

1 - Add mongo 4.4 stack files

The connection details have changed from the last step.

Login as user on node

Connect via SSH
ssh user@hostname
Deploy archive Docker Swarm - MongoDB 4.4.zip to remote path files/
  1. Locate Files archive "Docker Swarm - MongoDB 4.4.zip", This can be downloaded from Attune
  2. Copy the Files archive to the server
  3. Extract the root of the Files archive to files/, relative to the home directory
  4. Check that the files are in the correct location

2 - Deploy mongo 4.4 to Docker Swarm

Login as user on node

Connect via SSH
ssh user@hostname
This is a Bash Script make sure you run it with bash -l from a terminal session
sudo docker stack deploy -c files/mongodb.yml mongo44