@@ -57,29 +57,30 @@ specified in the service configuration.
5757
5858### Options
5959
60- | Name | Type | Default | Description |
61- | :------------------------| :--------------| :--------| :---------------------------------------------------------------------------------|
62- | ` --build ` | ` bool ` | | Build image before starting container |
63- | ` --cap-add ` | ` list ` | | Add Linux capabilities |
64- | ` --cap-drop ` | ` list ` | | Drop Linux capabilities |
65- | ` -d ` , ` --detach ` | ` bool ` | | Run container in background and print container ID |
66- | ` --dry-run ` | ` bool ` | | Execute command in dry run mode |
67- | ` --entrypoint ` | ` string ` | | Override the entrypoint of the image |
68- | ` -e ` , ` --env ` | ` stringArray ` | | Set environment variables |
69- | ` -i ` , ` --interactive ` | ` bool ` | ` true ` | Keep STDIN open even if not attached |
70- | ` -l ` , ` --label ` | ` stringArray ` | | Add or override a label |
71- | ` --name ` | ` string ` | | Assign a name to the container |
72- | ` -T ` , ` --no-TTY ` | ` bool ` | ` true ` | Disable pseudo-TTY allocation (default: auto-detected) |
73- | ` --no-deps ` | ` bool ` | | Don't start linked services |
74- | ` -p ` , ` --publish ` | ` stringArray ` | | Publish a container's port(s) to the host |
75- | ` --quiet-pull ` | ` bool ` | | Pull without printing progress information |
76- | ` --remove-orphans ` | ` bool ` | | Remove containers for services not defined in the Compose file |
77- | ` --rm ` | ` bool ` | | Automatically remove the container when it exits |
78- | ` -P ` , ` --service-ports ` | ` bool ` | | Run command with all service's ports enabled and mapped to the host |
79- | ` --use-aliases ` | ` bool ` | | Use the service's network useAliases in the network(s) the container connects to |
80- | ` -u ` , ` --user ` | ` string ` | | Run as specified username or uid |
81- | ` -v ` , ` --volume ` | ` stringArray ` | | Bind mount a volume |
82- | ` -w ` , ` --workdir ` | ` string ` | | Working directory inside the container |
60+ | Name | Type | Default | Description |
61+ | :------------------------| :--------------| :---------| :---------------------------------------------------------------------------------|
62+ | ` --build ` | ` bool ` | | Build image before starting container |
63+ | ` --cap-add ` | ` list ` | | Add Linux capabilities |
64+ | ` --cap-drop ` | ` list ` | | Drop Linux capabilities |
65+ | ` -d ` , ` --detach ` | ` bool ` | | Run container in background and print container ID |
66+ | ` --dry-run ` | ` bool ` | | Execute command in dry run mode |
67+ | ` --entrypoint ` | ` string ` | | Override the entrypoint of the image |
68+ | ` -e ` , ` --env ` | ` stringArray ` | | Set environment variables |
69+ | ` -i ` , ` --interactive ` | ` bool ` | ` true ` | Keep STDIN open even if not attached |
70+ | ` -l ` , ` --label ` | ` stringArray ` | | Add or override a label |
71+ | ` --name ` | ` string ` | | Assign a name to the container |
72+ | ` -T ` , ` --no-TTY ` | ` bool ` | ` true ` | Disable pseudo-TTY allocation (default: auto-detected) |
73+ | ` --no-deps ` | ` bool ` | | Don't start linked services |
74+ | ` -p ` , ` --publish ` | ` stringArray ` | | Publish a container's port(s) to the host |
75+ | ` --pull ` | ` string ` | ` policy ` | Pull image before running ("always"\| "missing"\| "never") |
76+ | ` --quiet-pull ` | ` bool ` | | Pull without printing progress information |
77+ | ` --remove-orphans ` | ` bool ` | | Remove containers for services not defined in the Compose file |
78+ | ` --rm ` | ` bool ` | | Automatically remove the container when it exits |
79+ | ` -P ` , ` --service-ports ` | ` bool ` | | Run command with all service's ports enabled and mapped to the host |
80+ | ` --use-aliases ` | ` bool ` | | Use the service's network useAliases in the network(s) the container connects to |
81+ | ` -u ` , ` --user ` | ` string ` | | Run as specified username or uid |
82+ | ` -v ` , ` --volume ` | ` stringArray ` | | Bind mount a volume |
83+ | ` -w ` , ` --workdir ` | ` string ` | | Working directory inside the container |
8384
8485
8586<!-- -MARKER_GEN_END-->
0 commit comments