Merge pull request #12029 from git-developer/patch-1

fix: update name of config option `network_mode`
This commit is contained in:
Usha Mandya 2021-01-08 14:32:51 +00:00 committed by GitHub
commit 72f7f2481c
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]`.
```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