用户在安装后验证Ascend Docker Runtime是否安装成功或需要确认Ascend Docker Runtime状态时可参考本章节进行操作。
{
"default-runtime": "ascend",
"exec-opts": [
"native.cgroupdriver=systemd"
],
"registry-mirrors": [
"https://docker.mirrors.ustc.edu.cn"
],
"runtimes": {
"ascend": {
"path": "/usr/local/Ascend/Ascend-Docker-Runtime/ascend-docker-runtime",
"runtimeArgs": []
}
}
...
} 同时自动生成默认挂载内容配置文件“/etc/ascend-docker-runtime.d/base.list”。
Docker场景中daemon.json路径为“/etc/docker/daemon.json”。
... Swarm: inactive Runtimes: ascend runc Default Runtime: ascend Init Binary: docker-init