1.create介绍
Docker网络命令create是用来新创建Docker网络,如果不指定,默认创建driver为bridge的网络
2.create用法
docker network create [参数] network
[root@centos79 ~]# docker network create --help
Usage: docker network create [OPTIONS] NETWORK
Create a network
Options:
--attachable Enable manual container attachment
--aux-address map Auxiliary IPv4 or IPv6 addresses used by Network driver (default map[])
--config-from string The network from which to copy the configuration
--config-only Create a configuration only network
-d, --driver string Driver to manage the Network (default "bridge")
--gateway strings IPv4 or IPv6 Gateway for the master subnet
--ingress C
本文介绍了Docker的网络命令create,用于创建新的Docker网络。默认driver为bridge。详细说明了create的使用方法,并提供了创建网络的样例,如创建名为ztj的网络。
订阅专栏 解锁全文
489

被折叠的 条评论
为什么被折叠?



