Ascend Docker Runtime

After the installation is complete, perform the following steps to check whether the Ascend Docker Runtime is successfully installed:

  1. After Ascend-docker-runtime is installed, the code in the /etc/docker/daemon.json configuration file is modified. See the following information in bold.
    {
            "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": []
    ...
    }

    At the same time, the default mount directory file /etc/ascend-docker-runtime.d/base.list is automatically generated.

  2. Run the docker info command to check whether the default Runtime is ascend. If yes, the Ascend Docker Runtime is successfully installed. See the following information in bold.
    ...
    Swarm: inactive
    Runtimes: ascend runc
    Default Runtime: ascend
    Init Binary: docker-init