Web developer @ Studio Emma
$ pacman -S docker $ systemctl enable docker.service
communication between client and server will be encrypted
to communicate with our server(s) we have to setup some environment variables
export DOCKER_HOST=tcp://192.168.254.41:2375
export DOCKER_CERT_PATH=$(pwd)/client-cert
export DOCKER_TLS_VERIFY=1
# docker swarm init \ --advertise-addr=[internal server ip] # docker swarm join-token \ -q worker # docker swarm join \ --token [worker token] \ [internal master server ip]
$ docker node ls $ docker service ls
create/manage a single service within a swarm
create/manage an application stack within a swarm