mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-29 17:40:50 +00:00
Add docs for --exec-opt and setting native.cgroupdriver.
update man pages. update bash completion. Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle) Docker-DCO-1.1-Signed-off-by: Jessie Frazelle <jess@docker.com> (github: jfrazelle)
This commit is contained in:
committed by
Jessica Frazelle
parent
9018f873c8
commit
d4bbbe58dd
@@ -452,6 +452,27 @@ https://linuxcontainers.org/) via the `lxc` execution driver, however, this is
|
||||
not where the primary development of new functionality is taking place.
|
||||
Add `-e lxc` to the daemon flags to use the `lxc` execution driver.
|
||||
|
||||
#### Exec driver options
|
||||
|
||||
Particular exec-driver can be configured with options specified with
|
||||
`--exec-opt` flags. The only driver accepting options is `native`
|
||||
(libcontainer) as of now. All its options are prefixed with `native`.
|
||||
|
||||
Currently supported options are:
|
||||
|
||||
* `native.cgroupdriver`
|
||||
|
||||
Specifies the management of the container's cgroups. As of now the only
|
||||
viable options are `cgroupfs` and `systemd`. The option will always
|
||||
fallback to `cgroupfs`. By default, if no option is specified, the
|
||||
execdriver will try `systemd` and fallback to `cgroupfs`. Same applies if
|
||||
`systemd` is passed as the `cgroupdriver` but is not capable of being used.
|
||||
|
||||
Example use:
|
||||
|
||||
$ sudo docker -d --exec-opt native.cgroupdriver=cgroupfs
|
||||
|
||||
|
||||
|
||||
### Daemon DNS options
|
||||
|
||||
|
||||
Reference in New Issue
Block a user