Difference between revisions of "Docker service"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
  [[docker]] service
 
  [[docker]] service
 
  [[docker service update]]
 
  [[docker service update]]
 +
[[docker service ls]]
  
  

Revision as of 15:05, 13 January 2023

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

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
  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.
root@kk:/srv/mediawiki#

See also

Advertising: