Pulling an Image Artifact to a Local Host
Scenarios
To use an image stored in a repository, you need to pull (or download) it from the repository first. Then, you can use the image to deploy containerized applications in CCE or CCI.
Images are either public or private. If the namespace is public, all images in the namespace are public. If the namespace is private, all images in the namespace are private. Public and private images are different in the following aspects:
- Public images can be downloaded without log into Docker. To improve image management security, SWR also supports permission control over the download of public images through related control policies.
- Private images can be downloaded only after you log in to Docker and are granted the download permission (the corresponding action is swr:repository:downloadArtifact). For details, see Table 1 SWR Enterprise Edition operations supported by system-defined policies.
You can use Docker or containerd to pull images from SWR.
Prerequisites
- Your network is normal.
- You have prepared a container engine client, which can be used within the network access range defined in Access Control.
Constraints
If a Docker container engine client is used to pull images, the Docker version is 18.06 or later.
Procedure
You can refer to the following operations to pull image using a Docker or containerd container engine client.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot