Ascend Docker Runtime Commands
After Ascend Docker Runtime is installed, executable tools are generated in the installation directory. The involved commands are internal commands. Do not use them directly. Table 1 lists the related commands.
Tool |
Short Command |
Long Command |
Other Parameter Type |
Other Parameter Position |
|---|---|---|---|---|
ascend-docker-cli |
p |
pid |
- |
- |
r |
rootfs |
- |
- |
|
o |
options |
- |
- |
|
f |
mount-file |
- |
- |
|
l |
allow-link |
- |
- |
|
i |
mount-dir |
- |
- |
|
ascend-docker-plugin-install-helper |
- |
add |
- |
1 |
- |
rm |
- |
1 |
|
h |
- |
- |
- |
|
- |
- |
destPath |
2 |
|
- |
- |
srcPath |
3 |
|
- |
- |
installPath |
4 for installation |
|
- |
- |
reserveDefault |
5 for installation and 4 for uninstallation |
|
- |
- |
installScene |
6 for installation and 5 for uninstallation |
|
- |
- |
cgroupInfo |
7 for installation and 6 for uninstallation |
|
- |
- |
osName |
8 for installation and 7 for uninstallation |
|
- |
- |
osVersion |
9 for installation and 8 for uninstallation |
|
ascend-docker-runtime |
0 |
create |
- |
- |
b |
bundle |
- |
- |
|
ascend-docker-destroy |
- |
- |
cardId |
1 |
- |
- |
- |
deviceId |
2 |
- |
- |
- |
vDeviceId |
3 |
- Ascend Docker Runtime directly transfers input parameters to runc or docker-runc. Therefore, parameters related to runc or docker-runc are also accepted by Ascend Docker Runtime. Select parameters by referring to the command line options of runc or docker-runc in the environment.
- The ascend-docker-hook tool ignores parameters and accepts standard input during running.