Difference between revisions of "Docker service"

From wikieduonline
Jump to navigation Jump to search
(Created page with " docker service <pre> docker service Usage: docker service COMMAND Manage services Commands: create Create a new service inspect Display detailed inform...")
 
Line 1: Line 1:
 
  [[docker]] service
 
  [[docker]] service
  
 +
 +
[[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.
  
 
<pre>
 
<pre>

Revision as of 14:39, 17 April 2021

docker service


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: