$ docker tag alpine:latest remote.repository.com:5000/alpine-latest $ docker run --name docker_auth -p 5001:5001 -v `pwd`:/config:ro -v /var/log/docker_auth:/logs -v /etc/letsencrypt:/le cesanta/docker_auth:1 /config/config.yml auth: htpasswd: path: "/auth/htpasswd" proxy:remoteurl: https://registry-1.docker.io