mirror of
https://github.com/docker/compose.git
synced 2025-07-21 12:44:54 +02:00
Add config and create to docs/reference
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
4017ea99fe
commit
0bca8d9cb3
23
docs/reference/config.md
Normal file
23
docs/reference/config.md
Normal file
@ -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.
|
25
docs/reference/create.md
Normal file
25
docs/reference/create.md
Normal 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…
x
Reference in New Issue
Block a user