|
@@ -18,13 +18,13 @@ Run a one-off command on a service.
|
|
| `--no-deps` | | | Don't start linked services. |
|
|
| `--no-deps` | | | Don't start linked services. |
|
|
| `-p`, `--publish` | `stringArray` | | Publish a container's port(s) to the host. |
|
|
| `-p`, `--publish` | `stringArray` | | Publish a container's port(s) to the host. |
|
|
| `--quiet-pull` | | | Pull without printing progress information. |
|
|
| `--quiet-pull` | | | Pull without printing progress information. |
|
|
|
|
+| `--remove-orphans` | | | Remove containers for services not defined in the Compose file. |
|
|
| `--rm` | | | Automatically remove the container when it exits |
|
|
| `--rm` | | | Automatically remove the container when it exits |
|
|
| `--service-ports` | | | Run command with the service's ports enabled and mapped to the host. |
|
|
| `--service-ports` | | | Run command with the service's ports enabled and mapped to the host. |
|
|
| `--use-aliases` | | | Use the service's network useAliases in the network(s) the container connects to. |
|
|
| `--use-aliases` | | | Use the service's network useAliases in the network(s) the container connects to. |
|
|
| `-u`, `--user` | `string` | | Run as specified username or uid |
|
|
| `-u`, `--user` | `string` | | Run as specified username or uid |
|
|
| `-v`, `--volume` | `stringArray` | | Bind mount a volume. |
|
|
| `-v`, `--volume` | `stringArray` | | Bind mount a volume. |
|
|
| `-w`, `--workdir` | `string` | | Working directory inside the container |
|
|
| `-w`, `--workdir` | `string` | | Working directory inside the container |
|
|
-| `--remove-orphans` | | | Remove containers for services not defined in the Compose file. |
|
|
|
|
|
|
|
|
|
|
|
|
<!---MARKER_GEN_END-->
|
|
<!---MARKER_GEN_END-->
|