DEPLOY (from an .yml file)

Deploy is the functionality of distributing container copies to slaves.

As well as creating the network overlay and service required.

        
$ docker stack deploy --compose-file docker-compose.yml jlar

Creating network jlar_overlay
Creating service jlar_db
Creating service jlar_wordpress
Creating service jlar_phpmyadmin

See a graphical representation in Portainer.

Official documentation:

https://docs.docker.com/engine/reference/commandline/stack_deploy/

Leave a Reply

Your email address will not be published. Required fields are marked *