mirror of
https://github.com/docker/compose.git
synced 2026-08-27 03:45:29 +00:00
Run containers and attach to logs by default, detach with -d option
This commit is contained in:
parent
42b516e738
commit
5eea111ecf
7 changed files with 76 additions and 12 deletions
2
cli/cmd/run/testdata/run-help.golden
vendored
2
cli/cmd/run/testdata/run-help.golden
vendored
|
|
@ -5,7 +5,7 @@ Usage:
|
|||
|
||||
Flags:
|
||||
--cpus float Number of CPUs (default 1)
|
||||
-d, --detach Run container in background and print container ID (default true)
|
||||
-d, --detach Run container in background and print container ID
|
||||
-l, --label stringArray Set meta data on a container
|
||||
-m, --memory bytes Memory limit
|
||||
--name string Assign a name to the container
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue