mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Merge pull request #27246 from ZJU-SEL/ubuntu-kube-up
Automatic merge from submit-queue [ubuntu]honor original docker_opts
This commit is contained in:
commit
46b1a0a24d
@ -58,7 +58,7 @@ function restart_docker {
|
||||
sudo brctl delbr docker0
|
||||
|
||||
source /run/flannel/subnet.env
|
||||
|
||||
source /etc/default/docker
|
||||
echo DOCKER_OPTS=\"${DOCKER_OPTS} -H tcp://127.0.0.1:4243 -H unix:///var/run/docker.sock \
|
||||
--bip=${FLANNEL_SUBNET} --mtu=${FLANNEL_MTU}\" > /etc/default/docker
|
||||
sudo service docker restart
|
||||
|
Loading…
Reference in New Issue
Block a user