@@ -5,32 +5,32 @@ Create and start containers
5
5
6
6
### Options
7
7
8
- | Name | Type | Default | Description |
9
- | :-----------------------------| :--------------| :----------| :------------------------------------------------------------------------------------------------------------- |
10
- | ` --abort-on-container-exit ` | | | Stops all containers if any container was stopped. Incompatible with -d |
11
- | ` --always-recreate-deps ` | | | Recreate dependent containers. Incompatible with --no-recreate. |
12
- | ` --attach ` | ` stringArray ` | | Attach to service output. |
13
- | ` --attach-dependencies ` | | | Attach to dependent containers. |
14
- | ` --build ` | | | Build images before starting containers. |
15
- | ` -d ` , ` --detach ` | | | Detached mode: Run containers in the background |
16
- | ` --exit-code-from ` | ` string ` | | Return the exit code of the selected service container. Implies --abort-on-container-exit |
17
- | ` --force-recreate ` | | | Recreate containers even if their configuration and image haven't changed. |
18
- | ` --no-attach ` | ` stringArray ` | | Don't attach to specified service. |
19
- | ` --no-build ` | | | Don't build an image, even if it's missing. |
20
- | ` --no-color ` | | | Produce monochrome output. |
21
- | ` --no-deps ` | | | Don't start linked services. |
22
- | ` --no-log-prefix ` | | | Don't print prefix in logs. |
23
- | ` --no-recreate ` | | | If containers already exist, don't recreate them. Incompatible with --force-recreate. |
24
- | ` --no-start ` | | | Don't start the services after creating them. |
25
- | ` --pull ` | ` string ` | ` missing ` | Pull image before running ("always"\| "missing"\| "never") |
26
- | ` --quiet-pull ` | | | Pull without printing progress information. |
27
- | ` --remove-orphans ` | | | Remove containers for services not defined in the Compose file. |
28
- | ` -V ` , ` --renew-anon-volumes ` | | | Recreate anonymous volumes instead of retrieving data from the previous containers. |
29
- | ` --scale ` | ` stringArray ` | | Scale SERVICE to NUM instances. Overrides the ` scale ` setting in the Compose file if present. |
30
- | ` --timestamps ` | | | Show timestamps. |
31
- | ` --wait ` | | | Wait for services to be running \| healthy. Implies detached mode. |
32
- | ` --wait-timeout ` | ` int ` | ` 0 ` | timeout waiting for application to be running \| healthy. |
33
- | ` -t ` , ` --waitTimeout ` | ` int ` | ` 10 ` | Use this waitTimeout in seconds for container shutdown when attached or when containers are already running. |
8
+ | Name | Type | Default | Description |
9
+ | :-----------------------------| :--------------| :----------| :---------------------------------------------------------------------------------------------------------|
10
+ | ` --abort-on-container-exit ` | | | Stops all containers if any container was stopped. Incompatible with -d |
11
+ | ` --always-recreate-deps ` | | | Recreate dependent containers. Incompatible with --no-recreate. |
12
+ | ` --attach ` | ` stringArray ` | | Attach to service output. |
13
+ | ` --attach-dependencies ` | | | Attach to dependent containers. |
14
+ | ` --build ` | | | Build images before starting containers. |
15
+ | ` -d ` , ` --detach ` | | | Detached mode: Run containers in the background |
16
+ | ` --exit-code-from ` | ` string ` | | Return the exit code of the selected service container. Implies --abort-on-container-exit |
17
+ | ` --force-recreate ` | | | Recreate containers even if their configuration and image haven't changed. |
18
+ | ` --no-attach ` | ` stringArray ` | | Don't attach to specified service. |
19
+ | ` --no-build ` | | | Don't build an image, even if it's missing. |
20
+ | ` --no-color ` | | | Produce monochrome output. |
21
+ | ` --no-deps ` | | | Don't start linked services. |
22
+ | ` --no-log-prefix ` | | | Don't print prefix in logs. |
23
+ | ` --no-recreate ` | | | If containers already exist, don't recreate them. Incompatible with --force-recreate. |
24
+ | ` --no-start ` | | | Don't start the services after creating them. |
25
+ | ` --pull ` | ` string ` | ` missing ` | Pull image before running ("always"\| "missing"\| "never") |
26
+ | ` --quiet-pull ` | | | Pull without printing progress information. |
27
+ | ` --remove-orphans ` | | | Remove containers for services not defined in the Compose file. |
28
+ | ` -V ` , ` --renew-anon-volumes ` | | | Recreate anonymous volumes instead of retrieving data from the previous containers. |
29
+ | ` --scale ` | ` stringArray ` | | Scale SERVICE to NUM instances. Overrides the ` scale ` setting in the Compose file if present. |
30
+ | ` -t ` , ` --timeout ` | ` int ` | ` 10 ` | Use this timeout in seconds for container shutdown when attached or when containers are already running. |
31
+ | ` --timestamps ` | | | Show timestamps. |
32
+ | ` --wait ` | | | Wait for services to be running \| healthy. Implies detached mode. |
33
+ | ` --wait-timeout ` | ` int ` | ` 0 ` | timeout waiting for application to be running \| healthy. |
34
34
35
35
36
36
<!-- -MARKER_GEN_END-->
0 commit comments