Docker Swarm

Straight to the point when creating a docker swarm, assume the internal network space is . This will create the swarm

#docker swarm init —advertise-addr —listen-addr

On the secondary node that will act as a worker, lets just refer it as worker-node

#docker swarm join —token SWMTKN-1-xxxxxxxxxx-

In order to join a manager

#docker swarm join-token manager 

Leave a Reply


Reverse Proxy Apache

Neat trick after subdomain is created, want to preserve the url for example lets look at this lab hack (its…

scp to a port

Quick reminder on how to transfer a file to a specific port, the option is upper -P $ scp -P…

Install Apache using Puppet Master

In this vast world of orchestration & automation tools and techniques, here is a quick one on how to get…

Lab hack: docker notes

Allowing Rights to Host Mounted Volumes #docker ps -a #docker run -v -v option creates the volume #docker -v <container…