Docker Registry Browser
Web Interface for the Docker Registry HTTP API V2 written in Ruby on Rails.
docker run --name registry-browser -it -p 8080:8080 -e DOCKER_REGISTRY_URL=http://your-registry:5000 klausmeyer/docker-registry-browser
- Install ruby e.g. using RVM<br>(see
.ruby-versionfile for required version).
- Execute the following command inside your local clone of this repository:<br>
gem install bundler && bundle install --without development test
- Run the application using<br>
DOCKER_REGISTRY_URL=http://your-registry:5000 bundle exec bundle exec puma -C config/puma.rb
The configuration is done by environment variables.
||yes||String||URL to the Docker Registry which should be browsed<br>Example:
||no||Bool||Enable to skip SSL verification (default
||no||String||Username for basic-auth against registry<br>Example:
||no||String||Password for basic-auth against registry<br>Example:
||no||Bool||Allow deletion of tags (default
||no||String||The public URL to the Docker Registry to do docker pull<br>Example:
You can also set
BASIC_AUTH_PASSWORD as Docker Swarm secrets.
If you're using a reverse-proxy setup with SSL termination in front of this application in combination with
ENABLE_DELETE_IMAGES=true you must make sure that the application knows about this fact (by sending
X-Forwarded-Proto: https in the HTTP headers).
Otherwise the application would throw errors like
"HTTP Origin header [...] didn't match request.base_url [...]" when you're trying to delete image-tags.