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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.