Remove unneeded references to execDriver

This includes:
 - updating the docs
 - removing dangling variables

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
Kenfe-Mickael Laventure 2016-03-18 12:43:17 -07:00 committed by Tibor Vass
parent 0926303632
commit 4ffd1a9433
6 changed files with 26 additions and 26 deletions

View File

@ -51,7 +51,7 @@ complete -c docker -f -n '__fish_docker_no_subcommand' -s d -l daemon -d 'Enable
complete -c docker -f -n '__fish_docker_no_subcommand' -l dns -d 'Force Docker to use specific DNS servers' complete -c docker -f -n '__fish_docker_no_subcommand' -l dns -d 'Force Docker to use specific DNS servers'
complete -c docker -f -n '__fish_docker_no_subcommand' -l dns-opt -d 'Force Docker to use specific DNS options' complete -c docker -f -n '__fish_docker_no_subcommand' -l dns-opt -d 'Force Docker to use specific DNS options'
complete -c docker -f -n '__fish_docker_no_subcommand' -l dns-search -d 'Force Docker to use specific DNS search domains' complete -c docker -f -n '__fish_docker_no_subcommand' -l dns-search -d 'Force Docker to use specific DNS search domains'
complete -c docker -f -n '__fish_docker_no_subcommand' -l exec-opt -d 'Set exec driver options' complete -c docker -f -n '__fish_docker_no_subcommand' -l exec-opt -d 'Set runtime execution options'
complete -c docker -f -n '__fish_docker_no_subcommand' -l fixed-cidr -d 'IPv4 subnet for fixed IPs (e.g. 10.20.0.0/16)' complete -c docker -f -n '__fish_docker_no_subcommand' -l fixed-cidr -d 'IPv4 subnet for fixed IPs (e.g. 10.20.0.0/16)'
complete -c docker -f -n '__fish_docker_no_subcommand' -l fixed-cidr-v6 -d 'IPv6 subnet for fixed IPs (e.g.: 2001:a02b/48)' complete -c docker -f -n '__fish_docker_no_subcommand' -l fixed-cidr-v6 -d 'IPv6 subnet for fixed IPs (e.g.: 2001:a02b/48)'
complete -c docker -f -n '__fish_docker_no_subcommand' -s G -l group -d 'Group to assign the unix socket specified by -H when running in daemon mode' complete -c docker -f -n '__fish_docker_no_subcommand' -s G -l group -d 'Group to assign the unix socket specified by -H when running in daemon mode'

View File

@ -650,8 +650,8 @@ __docker_subcommand() {
"($help)*--dns-opt=[DNS options to use]:DNS option: " \ "($help)*--dns-opt=[DNS options to use]:DNS option: " \
"($help)*--default-ulimit=[Default ulimit settings for containers]:ulimit: " \ "($help)*--default-ulimit=[Default ulimit settings for containers]:ulimit: " \
"($help)--disable-legacy-registry[Do not contact legacy registries]" \ "($help)--disable-legacy-registry[Do not contact legacy registries]" \
"($help)*--exec-opt=[Exec driver options]:exec driver options: " \ "($help)*--exec-opt=[Runtime execution options]:runtime execution options: " \
"($help)--exec-root=[Root of the Docker execdriver]:path:_directories" \ "($help)--exec-root=[Root directory for execution state files]:path:_directories" \
"($help)--fixed-cidr=[IPv4 subnet for fixed IPs]:IPv4 subnet: " \ "($help)--fixed-cidr=[IPv4 subnet for fixed IPs]:IPv4 subnet: " \
"($help)--fixed-cidr-v6=[IPv6 subnet for fixed IPs]:IPv6 subnet: " \ "($help)--fixed-cidr-v6=[IPv6 subnet for fixed IPs]:IPv6 subnet: " \
"($help -G --group)"{-G=,--group=}"[Group for the unix socket]:group:_groups" \ "($help -G --group)"{-G=,--group=}"[Group for the unix socket]:group:_groups" \

View File

@ -32,8 +32,8 @@ weight = -1
--dns-opt=[] DNS options to use --dns-opt=[] DNS options to use
--dns-search=[] DNS search domains to use --dns-search=[] DNS search domains to use
--default-ulimit=[] Set default ulimit settings for containers --default-ulimit=[] Set default ulimit settings for containers
--exec-opt=[] Set exec driver options --exec-opt=[] Set runtime execution options
--exec-root="/var/run/docker" Root of the Docker execdriver --exec-root="/var/run/docker" Root directory for execution state files
--fixed-cidr="" IPv4 subnet for fixed IPs --fixed-cidr="" IPv4 subnet for fixed IPs
--fixed-cidr-v6="" IPv6 subnet for fixed IPs --fixed-cidr-v6="" IPv6 subnet for fixed IPs
-G, --group="docker" Group for the unix socket -G, --group="docker" Group for the unix socket
@ -476,24 +476,26 @@ Currently supported options of `zfs`:
$ docker daemon -s zfs --storage-opt zfs.fsname=zroot/docker $ docker daemon -s zfs --storage-opt zfs.fsname=zroot/docker
## Docker execdriver option ## Docker runtime execution options
The Docker daemon uses a specifically built `libcontainer` execution driver as The Docker daemon relies on a
its interface to the Linux kernel `namespaces`, `cgroups`, and `SELinux`. [OCI](https://github.com/opencontainers/specs) compliant runtime
(invoked via the `containerd` daemon) as its interface to the Linux
kernel `namespaces`, `cgroups`, and `SELinux`.
## Options for the native execdriver ## Options for the runtime
You can configure the `native` (libcontainer) execdriver using options specified You can configure the runtime using options specified
with the `--exec-opt` flag. All the flag's options have the `native` prefix. A with the `--exec-opt` flag. All the flag's options have the `native` prefix. A
single `native.cgroupdriver` option is available. single `native.cgroupdriver` option is available.
The `native.cgroupdriver` option specifies the management of the container's The `native.cgroupdriver` option specifies the management of the container's
cgroups. You can specify `cgroupfs` or `systemd`. If you specify `systemd` and cgroups. You can specify only specify `cgroupfs` at the moment. If you omit the
it is not available, the system uses `cgroupfs`. If you omit the
`native.cgroupdriver` option,` cgroupfs` is used. `native.cgroupdriver` option,` cgroupfs` is used.
This example sets the `cgroupdriver` to `systemd`:
$ sudo docker daemon --exec-opt native.cgroupdriver=systemd This example explicitely sets the `cgroupdriver` to `cgroupfs`:
$ sudo docker daemon --exec-opt native.cgroupdriver=cgroupfs
Setting this option applies to all containers the daemon launches. Setting this option applies to all containers the daemon launches.

View File

@ -126,10 +126,10 @@ format.
DNS search domains to use. DNS search domains to use.
**--exec-opt**=[] **--exec-opt**=[]
Set exec driver options. See EXEC DRIVER OPTIONS. Set runtime execution options. See RUNTIME EXECUTION OPTIONS.
**--exec-root**="" **--exec-root**=""
Path to use as the root of the Docker exec driver. Default is `/var/run/docker`. Path to use as the root of the Docker execution state files. Default is `/var/run/docker`.
**--fixed-cidr**="" **--fixed-cidr**=""
IPv4 subnet for fixed IPs (e.g., 10.20.0.0/16); this subnet must be nested in the bridge subnet (which is defined by \-b or \-\-bip) IPv4 subnet for fixed IPs (e.g., 10.20.0.0/16); this subnet must be nested in the bridge subnet (which is defined by \-b or \-\-bip)

View File

@ -110,7 +110,6 @@ To get information on a container use its ID or instance name:
"Name": "/adoring_wozniak", "Name": "/adoring_wozniak",
"RestartCount": 0, "RestartCount": 0,
"Driver": "devicemapper", "Driver": "devicemapper",
"ExecDriver": "native-0.2",
"MountLabel": "", "MountLabel": "",
"ProcessLabel": "", "ProcessLabel": "",
"Mounts": [ "Mounts": [

View File

@ -224,15 +224,14 @@ inside it)
See **docker-wait(1)** for full documentation on the **wait** command. See **docker-wait(1)** for full documentation on the **wait** command.
# EXEC DRIVER OPTIONS # RUNTIME EXECUTION OPTIONS
Use the **--exec-opt** flags to specify options to the execution driver. Use the **--exec-opt** flags to specify options to the execution driver.
The following options are available: The following options are available:
#### native.cgroupdriver #### native.cgroupdriver
Specifies the management of the container's `cgroups`. You can specify Specifies the management of the container's `cgroups`. Only `cgroupfs` can be specified
`cgroupfs` or `systemd`. If you specify `systemd` and it is not available, the `cgroupfs` at the moment.
system uses `cgroupfs`.
#### Client #### Client
For specific client examples please see the man page for the specific Docker For specific client examples please see the man page for the specific Docker