Rename --net to --network
Add a `--network` flag which replaces `--net` without deprecating it yet. The `--net` flag remains hidden and supported. Add a `--network-alias` flag which replaces `--net-alias` without deprecating it yet. The `--net-alias` flag remains hidden and supported. Signed-off-by: Arnaud Porterie (icecrime) <arnaud.porterie@docker.com> Upstream-commit: c0c7d5e71586ec8e4d54aef9e061f061e9223cc4 Component: engine
This commit is contained in:
@ -35,7 +35,7 @@ Some network driver plugins are listed in [plugins](plugins.md)
|
||||
The `mynet` network is now owned by `weave`, so subsequent commands
|
||||
referring to that network will be sent to the plugin,
|
||||
|
||||
$ docker run --net=mynet busybox top
|
||||
$ docker run --network=mynet busybox top
|
||||
|
||||
|
||||
## Write a network plugin
|
||||
|
||||
Reference in New Issue
Block a user