February 2019
Intermediate to advanced
240 pages
5h 25m
English
Excellent! We’ve been Docker Machining and Swarming like a boss. We’ve deployed our application to not one, but two cloud providers, creating the infrastructure we needed as we went.
To recap:
We covered the steps necessary to create a multinode Swarm cluster on DigitalOcean or AWS.
We deployed our application to the Swarm cluster by making our Docker CLI target the manager node:
| | $ eval $(docker-machine env do-manager-1) |
and then deploying the application:
| | $ docker stack deploy -c docker-stack.yml myapp |
We used the visualizer to see the placement of containers on our nodes.
We learned about deploy: options that can be specified in our docker-stack.yml file, including placement constraints. ...
Read now
Unlock full access