|
@@ -27,6 +27,7 @@ docker-run - Run a command in a new container
|
|
[**--ipc**[=*IPC*]]
|
|
[**--ipc**[=*IPC*]]
|
|
[**--link**[=*[]*]]
|
|
[**--link**[=*[]*]]
|
|
[**--lxc-conf**[=*[]*]]
|
|
[**--lxc-conf**[=*[]*]]
|
|
|
|
+[**--log-driver**[=*[]*]]
|
|
[**-m**|**--memory**[=*MEMORY*]]
|
|
[**-m**|**--memory**[=*MEMORY*]]
|
|
[**--memory-swap**[=*MEMORY-SWAP]]
|
|
[**--memory-swap**[=*MEMORY-SWAP]]
|
|
[**--mac-address**[=*MAC-ADDRESS*]]
|
|
[**--mac-address**[=*MAC-ADDRESS*]]
|
|
@@ -209,6 +210,10 @@ which interface and port to use.
|
|
**--lxc-conf**=[]
|
|
**--lxc-conf**=[]
|
|
(lxc exec-driver only) Add custom lxc options --lxc-conf="lxc.cgroup.cpuset.cpus = 0,1"
|
|
(lxc exec-driver only) Add custom lxc options --lxc-conf="lxc.cgroup.cpuset.cpus = 0,1"
|
|
|
|
|
|
|
|
+**--log-driver**="|*json-file*|*none*"
|
|
|
|
+ Logging driver for container. Default is defined by daemon `--log-driver` flag.
|
|
|
|
+ **Warning**: `docker logs` command works only for `json-file` logging driver.
|
|
|
|
+
|
|
**-m**, **--memory**=""
|
|
**-m**, **--memory**=""
|
|
Memory limit (format: <number><optional unit>, where unit = b, k, m or g)
|
|
Memory limit (format: <number><optional unit>, where unit = b, k, m or g)
|
|
|
|
|