Category : docker-swarm

The registry was created as a service on the manager node with the following arguments: docker service create –name registry –constraint ‘node.labels.registry==true’ –publish published=5000,target=5000 –replicas 1 registry:2 docker service ls shows its existence among other services. Adding local images to the registry: docker tag backend:1.0 localhost:5000/backend:1.0 docker push localhost:5000/backend:1.0 docker tag frontend:1.0 localhost:5000/frontend:1.0 docker push ..

Read more