云服务器默认了一个docker网段的存在这个网段名称是bridge 且无法删除,在创建课程里的自定义网段时,会提示和默认的"Subnet": "172.18.0.0/16"重叠,但是现在又无法删除默认网段,网上找不到可用的答案, 请问该如何处理?
以下是默认网段的信息:
[root@VM-0-6-centos ~]# docker network inspect b58dbab1ce4a
[
{
"Name": "bridge",
"Id": "b58dbab1ce4a939954195d79c0172ee632fb759ebcefc97923643a54bcbf3643",
"Created": "2022-04-26T15:19:33.657581865+08:00",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": [
{
"Subnet": "172.18.0.0/16",
"Gateway": "172.18.0.1"
}
]
},
"Internal": false,
"Attachable": false,
"Containers": {},
"Options": {
"com.docker.network.bridge.default_bridge": "true",
"com.docker.network.bridge.enable_icc": "true",
"com.docker.network.bridge.enable_ip_masquerade": "true",
"com.docker.network.bridge.host_binding_ipv4": "0.0.0.0",
"com.docker.network.bridge.name": "docker0",
"com.docker.network.driver.mtu": "1500"
},
"Labels": {}
}
]