If Ascend Docker Runtime has been installed, perform the following steps on all nodes where it is installed to check its status.
Procedure
- Run the following command to check whether the base image exists:
docker images | grep ubuntu
If the following information is displayed, the base image ubuntu:22.04 exists. If the base image does not exist, run the
docker pull ubuntu:22.04 command to pull the base image.
| ubuntu 22.04 6526a1858e5d 2 years ago 64.2MB
|
- Run the following command to mount the physical processor whose ID is 0 using Ascend Docker Runtime.
- ASCEND_VISIBLE_DEVICES indicates the ID of the mounted processor.
- containerID indicates the user-defined container ID.
- Run the following command to check whether the processor is successfully mounted:
ls /dev
If the command output contains the davinci0 field, the processor is successfully mounted, Ascend Docker Runtime is successfully installed, and the component functions properly.