Skip to content

Commit

Permalink
Update doc for compose restart command
Browse files Browse the repository at this point in the history
Signed-off-by: piroux <[email protected]>
  • Loading branch information
piroux committed Jul 28, 2022
1 parent 64aeaae commit 72c8727
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/reference/compose_restart.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# docker compose restart

<!---MARKER_GEN_START-->
Restart containers
Restart service containers

### Options

Expand All @@ -14,7 +14,7 @@ Restart containers

## Description

Restarts all stopped and running services.
Restarts all stopped and running services, or the specified services only.

If you make changes to your `compose.yml` configuration, these changes are not reflected
after running this command. For example, changes to environment variables (which are added
Expand Down
6 changes: 3 additions & 3 deletions docs/reference/docker_compose_restart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
command: docker compose restart
short: Restart containers
short: Restart service containers
long: |-
Restarts all stopped and running services.
Restarts all stopped and running services, or the specified services only.
If you make changes to your `compose.yml` configuration, these changes are not reflected
after running this command. For example, changes to environment variables (which are added
Expand All @@ -11,7 +11,7 @@ long: |-
If you are looking to configure a service's restart policy, please refer to
[restart](https://github.com/compose-spec/compose-spec/blob/master/spec.md#restart)
or [restart_policy](https://github.com/compose-spec/compose-spec/blob/master/deploy.md#restart_policy).
usage: docker compose restart
usage: docker compose restart [SERVICE...]
pname: docker compose
plink: docker_compose.yaml
options:
Expand Down

0 comments on commit 72c8727

Please sign in to comment.