Commit ebdac883 by tingweiwang

nvidia-docker 改为--allow-unauthenticated

1 parent af66bffb
Showing with 1 additions and 1 deletions
...@@ -197,7 +197,7 @@ ansible master -m copy -a "src=/lib/systemd/system/flanneld.service dest=/lib/sy ...@@ -197,7 +197,7 @@ ansible master -m copy -a "src=/lib/systemd/system/flanneld.service dest=/lib/sy
ansible master -m shell -a "systemctl daemon-reload && service flanneld restart && service flanneld status && systemctl enable flanneld.service" ansible master -m shell -a "systemctl daemon-reload && service flanneld restart && service flanneld status && systemctl enable flanneld.service"
#ansible master -m copy -a "src=/root/k8s/service/docker.service dest=/lib/systemd/system/docker.service mode=755" #ansible master -m copy -a "src=/root/k8s/service/docker.service dest=/lib/systemd/system/docker.service mode=755"
####################################安装nvidia-docker2##################################### ####################################安装nvidia-docker2#####################################
apt install nvidia-docker2 --allow-insecure-repositories -y apt install nvidia-docker2 --allow-unauthenticated -y
###############################安装docker############################################### ###############################安装docker###############################################
echo "当前harbor仓库地址为$harbor_host," echo "当前harbor仓库地址为$harbor_host,"
sed -i s/harbor_host/$harbor_host/g /root/k8s/config/daemon.json_gpu sed -i s/harbor_host/$harbor_host/g /root/k8s/config/daemon.json_gpu
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!