docker service

From wikieduonline
Jump to navigation Jump to search

docker service
docker service update
docker service ls

docker service ls
Error response from daemon: This node is not a swarm manager. Use "docker swarm init" or "docker swarm join" to 
connect this node to swarm and try again.
 docker service

Usage:	docker service COMMAND

Manage services

  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
  rollback    Revert changes to a service's configuration
  scale       Scale one or multiple replicated services
  update      Update a service

Run 'docker service COMMAND --help' for more information on a command.

See also[edit]