mirror of https://github.com/docker/cli.git
5bc09639cc
This refactors the way networking options are parsed, and makes the client able to pass options for multiple networks. Currently, the daemon does not yet accept multiple networks when creating a container, and will produce an error. For backward-compatibility, the following global networking-related options are associated with the first network (in case multiple networks are set); - `--ip` - `--ip6` - `--link` - `--link-local-ip` - `--network-alias` Not all of these options are supported yet in the advanced notation, but for options that are supported, setting both the per-network option and the global option will produce a "conflicting options" error. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
testdata | ||
client_test.go | ||
cmd.go | ||
connect.go | ||
connect_test.go | ||
create.go | ||
create_test.go | ||
disconnect.go | ||
disconnect_test.go | ||
formatter.go | ||
formatter_test.go | ||
inspect.go | ||
list.go | ||
list_test.go | ||
prune.go | ||
remove.go |