Deploying services

Most of the commands we will initially need are accessible through the docker services command:

$ docker service<snip>Commands:  create      Create a new service  inspect     Display detailed information on one or more services  logs        Fetch the logs of a service or task  ls          List services  ps          List the tasks of one or more services  rm          Remove one or more services  scale       Scale one or multiple replicated services  update      Update a service
As you might be suspecting, given how similar these commands are to some of the ones for managing containers, once you move to an orchestration platform as opposed to fiddling with containers directly, the ideal management of your services would be done through the orchestration itself. I would probably expand ...

Get Deployment with Docker now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.