compose/cli/cmd/run/testdata/run-help.golden
Christopher Crone dd66646c06 Unit test run help
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-05-21 20:03:06 +02:00

10 lines
339 B
Text

Run a container
Usage:
run [flags]
Flags:
-l, --label stringArray Set meta data on a container
--name string Assign a name to the container
-p, --publish stringArray Publish a container's port(s). [HOST_PORT:]CONTAINER_PORT
-v, --volume stringArray Volume. Ex: user:key@my_share:/absolute/path/to/target