2017-03-27 05:10:58 -04:00
|
|
|
---
|
|
|
|
title: "service"
|
|
|
|
description: "The service command description and usage"
|
|
|
|
keywords: "service"
|
|
|
|
---
|
|
|
|
|
2017-07-28 13:28:23 -04:00
|
|
|
<!-- This file is maintained within the docker/cli Github
|
|
|
|
repository at https://github.com/docker/cli/. Make all
|
2017-03-27 05:10:58 -04:00
|
|
|
pull requests against that repo. If you see this file in
|
|
|
|
another repository, consider it read-only there, as it will
|
|
|
|
periodically be overwritten by the definitive file. Pull
|
|
|
|
requests which include edits to this file in other repositories
|
|
|
|
will be rejected.
|
|
|
|
-->
|
|
|
|
|
|
|
|
# service
|
|
|
|
|
|
|
|
```markdown
|
|
|
|
Usage: docker service COMMAND
|
|
|
|
|
|
|
|
Manage services
|
|
|
|
|
|
|
|
Options:
|
|
|
|
--help Print usage
|
|
|
|
|
|
|
|
Commands:
|
|
|
|
create Create a new service
|
|
|
|
inspect Display detailed information on one or more services
|
2017-04-12 10:43:14 -04:00
|
|
|
logs Fetch the logs of a service or task
|
2017-03-27 05:10:58 -04:00
|
|
|
ls List services
|
2017-03-29 17:06:58 -04:00
|
|
|
ps List the tasks of one or more services
|
2017-03-27 05:10:58 -04:00
|
|
|
rm Remove one or more services
|
|
|
|
scale Scale one or multiple replicated services
|
|
|
|
update Update a service
|
|
|
|
|
|
|
|
Run 'docker service COMMAND --help' for more information on a command.
|
|
|
|
```
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
|
|
|
Manage services.
|
|
|
|
|