In this case, let’s try to scale up the containers to 5 for the service. In the Docker Cluster, it’s possible to scale up and down containers. Scaling up and down containers for the service You should see the entire list of nodes present in your cluster using the command below: docker node ls Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslogĬontainerd version: 89623f28b87a6004d4b785663257362d1658a729 Network: bridge host macvlan null overlay Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata The output should look like this: Containers: 0ĭata loop file: /var/lib/docker/devicemapper/devicemapper/data Verify the manager status using the command below: docker info The token that is generated by the output above helps to join manager node and worker nodes docker swarm init -advertise-addr 192.168.0.101 Initialized the swarm on your Manager node. One server will be the Manager node while the other two servers will be the Worker node.
0 Comments
Leave a Reply. |