Image repositories are used to store, deploy, and manage Docker images.
When you upload or download images to or from an image repository, pay attention to the following:
- The image repository does not scan or verify the security of the images you uploaded. To prevent privacy leakage, do not include privacy information such as unencrypted passwords in uploaded images. When downloading public images, ensure that they are from trusted repository sources.
- If disks mounted to a repository are full, images cannot be uploaded and error information is displayed. This does not affect other services. You are advised to mount the repository to independent disks to prevent other services such as logs from using up the disk space.
- At present, CCE allows you to upload only Linux-based images to the image repository. The Windows-based images cannot be uploaded.
- Image: A Docker image is a special file system that includes all the programs, libraries, resources, and configuration files required to run containers. It also includes some configuration parameters (such as anonymous volumes, environment variables, and users) required for running. An image does not contain any dynamic data, and its content remains unchanged after being built.
- Container: A container is an entity that runs Docker images, which are static definitions. The relationship between an image and a container is similar to that of a class and an instance in the object-oriented program design. A container can be created, started, stopped, deleted, or suspended.
- Organization: An organization is used to isolate images and assign access permissions (read, edit, and manage) to different users.