mirror of https://github.com/docker/docs.git
Compose CLI reference copyedits (#3499)
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
This commit is contained in:
parent
da9734a626
commit
c239914df6
|
@ -17,7 +17,7 @@ Options:
|
|||
```
|
||||
|
||||
Services are built once and then tagged, by default as `project_service`, e.g.,
|
||||
`composetest_db`. If the compose file specify an
|
||||
`composetest_db`. If the Compose file specifies an
|
||||
[image](/compose/compose-file/index.md#image) name, the image will be
|
||||
tagged with that name, substituting any variables beforehand. See [variable
|
||||
substitution](#variable-substitution)
|
||||
|
|
|
@ -16,4 +16,4 @@ Options:
|
|||
--volumes Print the volume names, one per line.
|
||||
```
|
||||
|
||||
Validate and view the compose file.
|
||||
Validate and view the Compose file.
|
||||
|
|
|
@ -30,7 +30,7 @@ Specify the path to a Compose file. If not provided, Compose looks for a file na
|
|||
`docker-compose.yml` in the current directory and then each parent directory in
|
||||
succession until a file by that name is found.
|
||||
|
||||
This variable supports multiple compose files separated by a path separator (on
|
||||
This variable supports multiple Compose files separated by a path separator (on
|
||||
Linux and macOS the path separator is `:`, on Windows it is `;`). For example:
|
||||
`COMPOSE_FILE=docker-compose.yml:docker-compose.prod.yml`. The path separator
|
||||
can also be customized using `COMPOSE_PATH_SEPARATOR`.
|
||||
|
|
|
@ -19,7 +19,7 @@ Usage:
|
|||
docker-compose -h|--help
|
||||
|
||||
Options:
|
||||
-f, --file FILE Specify an alternate compose file (default: docker-compose.yml)
|
||||
-f, --file FILE Specify an alternate Compose file (default: docker-compose.yml)
|
||||
-p, --project-name NAME Specify an alternate project name (default: directory name)
|
||||
--verbose Show more output
|
||||
-v, --version Print version and exit
|
||||
|
@ -34,12 +34,12 @@ Options:
|
|||
in the client certificate (for example if your docker host
|
||||
is an IP address)
|
||||
--project-directory PATH Specify an alternate working directory
|
||||
(default: the path of the compose file)
|
||||
(default: the path of the Compose file)
|
||||
|
||||
Commands:
|
||||
build Build or rebuild services
|
||||
bundle Generate a Docker bundle from the Compose file
|
||||
config Validate and view the compose file
|
||||
config Validate and view the Compose file
|
||||
create Create services
|
||||
down Stop and remove containers, networks, images, and volumes
|
||||
events Receive real time events from containers
|
||||
|
|
|
@ -14,6 +14,6 @@ Options:
|
|||
|
||||
Restarts all stopped and running services.
|
||||
|
||||
If you make changes to your docker-compose.yml configuration these changes will not be reflected after running this command.
|
||||
If you make changes to your `docker-compose.yml` configuration these changes will not be reflected after running this command.
|
||||
|
||||
For example, changes to environment variables (which are added after a container is built, but before the container's command is executed) will not be updated after restarting.
|
||||
|
|
Loading…
Reference in New Issue