2020-05-21 20:03:06 +02:00
|
|
|
Run a container
|
|
|
|
|
|
|
|
Usage:
|
|
|
|
run [flags]
|
|
|
|
|
|
|
|
Flags:
|
2020-06-24 09:59:53 +02:00
|
|
|
--cpus float Number of CPUs (default 1)
|
2020-06-23 16:12:03 +02:00
|
|
|
-d, --detach Run container in background and print container ID (default true)
|
2020-05-21 20:03:06 +02:00
|
|
|
-l, --label stringArray Set meta data on a container
|
2020-06-24 09:59:53 +02:00
|
|
|
-m, --memory bytes Memory limit
|
2020-05-21 20:03:06 +02:00
|
|
|
--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
|