1
0
mirror of https://github.com/docker/docs.git synced 2026-10-31 10:34:26 +03:00

fix: update name of config option network_mode

This commit is contained in:
Christian
2021-01-03 09:29:25 +01:00
committed by GitHub
parent 3e06ed6791
commit 2ff837ea7c

View File

@@ -1004,19 +1004,19 @@ Network mode. Use the same values as the docker client `--network` parameter, pl
the special form `service:[service name]`.
```yaml
net: "bridge"
network_mode: "bridge"
```
```yaml
net: "host"
network_mode: "host"
```
```yaml
net: "none"
network_mode: "none"
```
```yaml
net: "service:[service name]"
network_mode: "service:[service name]"
```
```yaml
net: "container:[container name/id]"
network_mode: "container:[container name/id]"
```
### networks