Sign inSign up

zareone/doxy

By zareone

•Updated almost 11 years ago

Image
0

983

zareone/doxy repository overview

⁠Doxy

Doxy is a Docker image which uses Nginx to serve as a proxy to secure your Docker private registry, adding SSL and HTTP Basic Auth

It is designed to work with a Docker registry running into another Docker container.

⁠Requisites

You'll need to have a private key and SSL certificate inside a directory like the following:

/somedir/ssl/server.key

/somedir/ssl/server.crt

⁠Running it

  1. First, run the docker registry container, giving it a name:
$ docker run \
	-e SETTINGS_FLAVOR=local \
	-e STORAGE_PATH=/registry/ \
	-e SEARCH_BACKEND=sqlalchemy \
	-p 5000:5000 \
	--name docker-registry registry
  1. Run the Doxy container, linking it with the registry container.
$ docker run \
    --link docker-registry:registry \
    -v /somedir/ssl:/ssl \
	-e USER=username \
	-e PASS=my_secure_password \
	-p 443:443 \
	-p 80:8080 \
	--name doxy zareone/doxy

As you see, the link alias must be registry in order to work.

⁠TO DO

This is a work in progress. These are some things that need work:

  • Server name: pass it on docker run via -e flag, and replace in the corresponding nginx config file.
  • Multiple users: currently, only one user can be created.

Tag summary

Content type

Image

Digest

sha256:3c02bbfb7…

Size

90 MB

Last updated

almost 11 years ago

docker pull zareone/doxy