Docker registries#
Docker registry#
We’re running a Docker Registry for own Docker images.
The registry is deployed to registry.confirm.ch
.
To pull something from the registry you can run:
docker pull registry.confirm.ch/{image}:{tag}
To push something, you’ve to tag the image properly before pushing it:
docker tag {image} registry.confirm.ch/{image}:{tag}
docker push registry.confirm.ch/{image}:{tag}
Also have a look at our existing images in the Docker Images GitLab group.
Hint
To view or manage the registry, have a look at the Registry UI.
Docker Hub mirror#
We’re also running a Docker Hub Mirror as pull through cache. The reasons why we’re mirroring Docker Hub are:
We’re making extensive use of Docker and this improves the performance
Docker Hub introduced a Pull Rate Limit
The registry is deployed to registry-mirror.confirm.ch
.
To use the pull through cache / mirror, you’ve to configure your Docker daemon via /etc/docker/dameon.json
properly:
{
"registry-mirrors": ["https://registry-mirror.confirm.ch"]
}
Hint
To view or manage the Docker Hub Mirror, have a look at the Registry Mirror UI.
Registry deployments#
Both registries are deployed via GitLab CI from the Docker Registry GitLab project.
Important
The Docker registries are only available from within private networks.