bip.docker
#systemctl stop docker
bip放前面可生效。/etc/docker/daemon.json
{
"bip": "192.168.168.1/24"
}
{
"runtimes": {
"nvidia": {
"path": "nvidia-container-runtime",
"runtimeArgs": []
}
}
}
#systemctl daemon-reload
#systemctl start docker
docker0更改完后,就将bip放到后面
{
"runtimes": {
"nvidia": {
"path": "nvidia-container-runtime",
"runtimeArgs": []
}
}
}
{
"bip": "192.168.168.1/24"
}
#systemctl daemon-reload
#systemctl restart docker