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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

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]`. the special form `service:[service name]`.
```yaml ```yaml
net: "bridge" network_mode: "bridge"
``` ```
```yaml ```yaml
net: "host" network_mode: "host"
``` ```
```yaml ```yaml
net: "none" network_mode: "none"
``` ```
```yaml ```yaml
net: "service:[service name]" network_mode: "service:[service name]"
``` ```
```yaml ```yaml
net: "container:[container name/id]" network_mode: "container:[container name/id]"
``` ```
### networks ### networks