artifactory as docker registry

I tried to set up artifactory as docker registry as shown in this video:

However, I don’t have SSL installed in artifactory so I’m using the –insecure-registry flag. (as shown in error in docker build publish plugin and Remote access to a private docker-registry)

  • Can't access app deployed with docker and google cloud
  • Failed to execute fabric8 docker plugin
  • Is docker appropriate for fleets of embedded devices? [closed]
  • Docker RUN Command: When To Group Commands, When Not To?
  • How to connect to a Postgres server in a Docker (1.12.0) container on a Mac?
  • Mesos + Docker, do I automatically get the benefits of Mesos HA, etc.?
  • Anyway, I don’t know how to figure out the artifactory as docker registry url so I can do this:
    curl -k -uusername:password “”

    This page,, shows at the bottom that something called a reverse proxy might be needed? Is this true and if so how do I install such a thing?

  • Dockerfile: Copied file not found
  • Can't build docker image from github repository branch
  • docker cannot specify container connection
  • search on my Auth+TLS private docker registry
  • Recommended way to mimic a production server with Docker
  • docker-compose not setting environment variables
  • One Solution collect form web for “artifactory as docker registry”

    The reason behind requiring a reverse proxy in front of Artifactory is related to a Docker client limitation – you cannot use a context path when providing the registry path, e.g is not valid.
    The Docker client assumes you are working with one big registry for all images, while Artifactory allows you to manage multiple registries (repositories) on the same server.

    To overcome this issue you should setup a reverse proxy which will allow the Docker client to send requests to the root context and forward those requests to the correct repository path in Artifactory. For example, forwarding requests from to

    The Artifactory documentation contains configuration examples for NginX, Apache and HAProxy.
    Notice that there are different configurations for Docker registry API v1 and v2.

    After setting up the reverse proxy, the Docker client should use the proxy in order to access Artifactory.

    If you are using the –insecure-registry flag there is no need to configure an SSL certificate. With older versions of Docker, before this flag was introduced (Docker 1.3.2) it was a mandatory requirement.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.