docker-service

Manage the services on a docker daemon.

TLDR

List the services on a docker daemon

$ docker service ls
copy

Create a new service

$ docker service create --name [service_name] [image]:[tag]
copy

Display detailed information of a space-separated list of services

$ docker service inspect [service_name|ID]
copy

List the tasks of a space-separated list of services

$ docker service ps [service_name|ID]
copy

Scale to a specific number of replicas for a space-separated list of services

$ docker service scale [service_name]=[count_of_replicas]
copy

Remove a space-separated list of services

$ docker service rm [service_name|ID]
copy

SYNOPSIS

docker service

DESCRIPTION

Manage services

OPTIONS

-h, --help[=false] help for service

SEE ALSO

docker(1), docker-service-create(1), docker-service-inspect(1), docker-service-logs(1), docker-service-ls(1), docker-service-ps(1), docker-service-rm(1), docker-service-rollback(1), docker-service-scale(1), docker-service-update(1)

Copied to clipboard
linuxmousepad