mirror of https://github.com/docker/compose.git
Merge pull request #2579 from vdemeester/update-reference-with-config-and-create
Add config and create to docs/reference
This commit is contained in:
commit
ad8faad296
|
@ -0,0 +1,23 @@
|
|||
<!--[metadata]>
|
||||
+++
|
||||
title = "config"
|
||||
description = "Config validates and view the compose file."
|
||||
keywords = ["fig, composition, compose, docker, orchestration, cli, config"]
|
||||
[menu.main]
|
||||
identifier="config.compose"
|
||||
parent = "smn_compose_cli"
|
||||
+++
|
||||
<![end-metadata]-->
|
||||
|
||||
# config
|
||||
|
||||
```:
|
||||
Usage: config [options]
|
||||
|
||||
Options:
|
||||
-q, --quiet Only validate the configuration, don't print
|
||||
anything.
|
||||
--services Print the service names, one per line.
|
||||
```
|
||||
|
||||
Validate and view the compose file.
|
|
@ -0,0 +1,25 @@
|
|||
<!--[metadata]>
|
||||
+++
|
||||
title = "create"
|
||||
description = "Create creates containers for a service."
|
||||
keywords = ["fig, composition, compose, docker, orchestration, cli, create"]
|
||||
[menu.main]
|
||||
identifier="create.compose"
|
||||
parent = "smn_compose_cli"
|
||||
+++
|
||||
<![end-metadata]-->
|
||||
|
||||
# create
|
||||
|
||||
```
|
||||
Usage: create [options] [SERVICE...]
|
||||
|
||||
Options:
|
||||
--force-recreate Recreate containers even if their configuration and
|
||||
image haven't changed. Incompatible with --no-recreate.
|
||||
--no-recreate If containers already exist, don't recreate them.
|
||||
Incompatible with --force-recreate.
|
||||
--no-build Don't build an image, even if it's missing
|
||||
```
|
||||
|
||||
Creates containers for a service.
|
Loading…
Reference in New Issue