Docker Registry

The Errigal Private Docker Registry is hosted on barney.err There is a frontend UI to view it on docker.errigal.com

To use the registry, you must first login

  docker login -u errigal registry.errigal.com

The password is in pwsafe.

Lets say you have an image already and want to push it to the docker registry. In this example I'll call the image errigal_app

First we will tag the image.

 docker tag errigal_app registry.errigal.com/errigal_app:<version>

If you omit the version, it will set to latest.

You can then push this image with

  docker push registry.errigal.com/errigal_app:<version>

And it will automatically upload to registry.errigal.com and you can view it on docker.errigal.com

However, there are new methods to building and pushing. The newer docker buildx build will change this.

Assuming we are in the directory of our docker image.

  docker buildx build -t registry.errigal.com/errigal_app:<version> . --push

From here you can also build with different platforms like arm and the registry will manage the rest.

To pull the image

  docker pull registry.errigal.com/errigal_app:latest

or even just run it with

  docker run --rm -v "some/local/path/:some/container/path/" -e "some_env=var" registry.errigal.com/errigal_app:latest