This topic describes the basic concepts of Docker container images to help you better use Container Registry.

Terms

  • Registry

    A registry is where Docker images are stored.

    Before pulling your private image from a registry, you must log on to the registry. After you modify the image, you can push it back to the registry. Alternatively, you can build a Docker image locally and push it to the registry.

  • Docker image URL

    For example, the URL of a public image of Container Service is as follows:

    registry.cn-hangzhou.aliyuncs.com/acs/agent:0.8

    • registry.cn-hangzhou.aliyuncs.com: the domain name of the registry.
    • acs: the name of your namespace.
    • agent: the name of your repository.
    • 0.8: the tag of the image. This field is optional. Default value: latest.

    The preceding fields can be combined to form the following terms:

    • registry.cn-hangzhou.aliyuncs.com/acs/agent: the location of the repository.
    • acs/agent: the full name of the repository, which is used to call API operations.