安装完成之后,验证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”。
... Swarm: inactive Runtimes: ascend runc Default Runtime: ascend Init Binary: docker-init