1 Star 1 Fork 51

Atlas_kang/ascend-device-plugin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker_run.sh 477 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
docker_name="k8sDevicePlugin"
chattr -i /usr/local/HiAI
docker stop ${docker_name}
docker rm ${docker_name}
sudo docker run --net=host --user=root:root -it --privileged \
-v /var/log/devicePlugin:/var/log/devicePlugin \
-v /var/lib/kubelet/device-plugins:/var/lib/kubelet/device-plugins \
-v /usr/local/Ascend/driver:/usr/local/Ascend/driver \
-v /opt/deviceplugin:/opt/deviceplugin \
--name ${docker_name} ascend-device-plugin:latest /bin/bash
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/frankang/ascend-device-plugin.git
[email protected]:frankang/ascend-device-plugin.git
frankang
ascend-device-plugin
ascend-device-plugin
master

搜索帮助