mirror of https://github.com/docker/cli.git
Update docker daemon to dockerd
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
This commit is contained in:
parent
63aa05d3f7
commit
6dcebccc46
|
@ -715,7 +715,7 @@ with the `--exec-opt` flag. All the flag's options have the `native` prefix. A
|
|||
single `native.cgroupdriver` option is available.
|
||||
|
||||
The `native.cgroupdriver` option specifies the management of the container's
|
||||
cgroups. You can specify only specify `cgroupfs` or `systemd`. If you specify
|
||||
cgroups. You can only specify `cgroupfs` or `systemd`. If you specify
|
||||
`systemd` and it is not available, the system errors out. If you omit the
|
||||
`native.cgroupdriver` option,` cgroupfs` is used.
|
||||
|
||||
|
@ -730,8 +730,8 @@ Setting this option applies to all containers the daemon launches.
|
|||
Also Windows Container makes use of `--exec-opt` for special purpose. Docker user
|
||||
can specify default container isolation technology with this, for example:
|
||||
|
||||
```bash
|
||||
$ sudo dockerd --exec-opt isolation=hyperv
|
||||
```console
|
||||
> dockerd --exec-opt isolation=hyperv
|
||||
```
|
||||
|
||||
Will make `hyperv` the default isolation technology on Windows. If no isolation
|
||||
|
@ -746,14 +746,12 @@ To set the DNS server for all Docker containers, use:
|
|||
$ sudo dockerd --dns 8.8.8.8
|
||||
```
|
||||
|
||||
|
||||
To set the DNS search domain for all Docker containers, use:
|
||||
|
||||
```bash
|
||||
$ sudo dockerd --dns-search example.com
|
||||
```
|
||||
|
||||
|
||||
## Insecure registries
|
||||
|
||||
Docker considers a private registry either secure or insecure. In the rest of
|
||||
|
|
Loading…
Reference in New Issue