configure local git, jenkins and docker repo into a basic CI pipeline where Jenkins launched Docker compose commands
To create swarm use :
docker swarm init
and the local Docker becomes a manager of a single node swarm.
docker service create --name timecheck --replicas 1 diamol/ch12-timecheck:1.0
docker service ls
Services are first-class objects in Docker Swarm. The containers that make upa service are called replicas.