forked from docs/doc-exports
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com> Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com> Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
3.9 KiB
3.9 KiB
Obtaining a Long-Term Valid containerd Pull/Push Command
Scenario
This section describes how to obtain a containerd pull/push command that is permanently valid.
Procedure
- Obtain the programmatic access permission by referring to 1.
- Obtain the resource space name, image repository address, AK, and login key by referring to 5 to 6.
- Concatenate the obtained information to form a long-term valid containerd command.
1. Image pull command
ctr image pull --user [Resource space name] @[AK]: [Login key] [Image repository address]
In the command, the resource space name and image repository address are obtained in 5, the AK in 2, and the login key in 6.
2. Image push command
ctr image push --user [Resource space name] @[AK]: [Login key] [Image repository address]
In the command, the resource space name and image repository address are obtained in 5, the AK in 2, and the login key in 6.
Parent topic: Image Management
