To get you up and running...
Why is this course
worth my time?
# docker run --restart=unless-stopped -d -p 3375:2375 swarm manage ... I # liocker run -d swarm join --addr=nodel:2375 consul://1O.e.e.2:85ee I # iocker run -d swarm join --addr=node2:2375 consul://1O.O.e.2:85ee # docker run -d swarm join --addr=node3:2375 consul://le.e.e.2:85ee
Required to administer and program the cluster
1 x Primary (sends all commands to the cluster)
N x Secondaries(proxys commands to Primary)
• Automatically take over in the event of the Primary going down
$ sudo docker info Containers: 3 Images: 2 Server Version: .1.10.1 Storage Driver: aufs
Execution Driver: native-0.2 Logging Driver: json-file Plugins: Volume: local Network: bridge null host Kernel Version: 3.13.0-74-qener - Operating System: Ubuntu 14.04.3 LTS Cluster store: consul://172.31.21.211:8500 Cluster advertise: 172.31.21.211:2375
Contribute your own (https://github.com/docker/docker/pkg/discovery)
Buildinc the infrstructure
What this can look like in AWS
Building a Swarm cluster!!!
Security is a top priority for all organizations
The following demo is NOT how to buiId a production - worthy certificate authority (CA)It is intended solely as a demonstration vehicle so that people can follow along with the labs!
Systemd-based systems:/etc/systemd/system/docker. service. d
What to do next!