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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user