@@ -5,33 +5,33 @@ Create and start containers
55
66### Options
77
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 ` | | Restrict attaching to the specified services. Incompatible with --attach-dependencies. |
13- | ` --attach-dependencies ` | | | Automatically attach to log output of dependent services. |
14- | ` --build ` | | | Build images before starting containers. |
15- | ` -d ` , ` --detach ` | | | Detached mode: Run containers in the background |
16- | ` --dry-run ` | | | Execute command in dry run mode |
17- | ` --exit-code-from ` | ` string ` | | Return the exit code of the selected service container. Implies --abort-on-container-exit |
18- | ` --force-recreate ` | | | Recreate containers even if their configuration and image haven't changed. |
19- | ` --no-attach ` | ` stringArray ` | | Do not attach (stream logs) to the specified services. |
20- | ` --no-build ` | | | Don't build an image, even if it's missing. |
21- | ` --no-color ` | | | Produce monochrome output. |
22- | ` --no-deps ` | | | Don't start linked services. |
23- | ` --no-log-prefix ` | | | Don't print prefix in logs. |
24- | ` --no-recreate ` | | | If containers already exist, don't recreate them. Incompatible with --force-recreate. |
25- | ` --no-start ` | | | Don't start the services after creating them. |
26- | ` --pull ` | ` string ` | ` missing ` | Pull image before running ("always"\| "missing "\| "never") |
27- | ` --quiet-pull ` | | | Pull without printing progress information. |
28- | ` --remove-orphans ` | | | Remove containers for services not defined in the Compose file. |
29- | ` -V ` , ` --renew-anon-volumes ` | | | Recreate anonymous volumes instead of retrieving data from the previous containers. |
30- | ` --scale ` | ` stringArray ` | | Scale SERVICE to NUM instances. Overrides the ` scale ` setting in the Compose file if present. |
31- | ` -t ` , ` --timeout ` | ` int ` | ` 0 ` | Use this timeout in seconds for container shutdown when attached or when containers are already running. |
32- | ` --timestamps ` | | | Show timestamps. |
33- | ` --wait ` | | | Wait for services to be running\| healthy. Implies detached mode. |
34- | ` --wait-timeout ` | ` int ` | ` 0 ` | Maximum duration to wait for the project to be running\| healthy. |
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 ` | | Restrict attaching to the specified services. Incompatible with --attach-dependencies. |
13+ | ` --attach-dependencies ` | | | Automatically attach to log output of dependent services. |
14+ | ` --build ` | | | Build images before starting containers. |
15+ | ` -d ` , ` --detach ` | | | Detached mode: Run containers in the background |
16+ | ` --dry-run ` | | | Execute command in dry run mode |
17+ | ` --exit-code-from ` | ` string ` | | Return the exit code of the selected service container. Implies --abort-on-container-exit |
18+ | ` --force-recreate ` | | | Recreate containers even if their configuration and image haven't changed. |
19+ | ` --no-attach ` | ` stringArray ` | | Do not attach (stream logs) to the specified services. |
20+ | ` --no-build ` | | | Don't build an image, even if it's policy. |
21+ | ` --no-color ` | | | Produce monochrome output. |
22+ | ` --no-deps ` | | | Don't start linked services. |
23+ | ` --no-log-prefix ` | | | Don't print prefix in logs. |
24+ | ` --no-recreate ` | | | If containers already exist, don't recreate them. Incompatible with --force-recreate. |
25+ | ` --no-start ` | | | Don't start the services after creating them. |
26+ | ` --pull ` | ` string ` | ` policy ` | Pull image before running ("always"\| "policy "\| "never") |
27+ | ` --quiet-pull ` | | | Pull without printing progress information. |
28+ | ` --remove-orphans ` | | | Remove containers for services not defined in the Compose file. |
29+ | ` -V ` , ` --renew-anon-volumes ` | | | Recreate anonymous volumes instead of retrieving data from the previous containers. |
30+ | ` --scale ` | ` stringArray ` | | Scale SERVICE to NUM instances. Overrides the ` scale ` setting in the Compose file if present. |
31+ | ` -t ` , ` --timeout ` | ` int ` | ` 0 ` | Use this timeout in seconds for container shutdown when attached or when containers are already running. |
32+ | ` --timestamps ` | | | Show timestamps. |
33+ | ` --wait ` | | | Wait for services to be running\| healthy. Implies detached mode. |
34+ | ` --wait-timeout ` | ` int ` | ` 0 ` | Maximum duration to wait for the project to be running\| healthy. |
3535
3636
3737<!-- -MARKER_GEN_END-->
0 commit comments