Configuring a docker repository as a subdomain in artifactory

We are trying to set up a docker repository within artifactory version 4.11.1, following is the set up

-- Created a local docker repo - docker-local
-- Created a virtual dokcer repo - docker-virtual
-- Created a remote docker repo - docker-hub
-- Configured docker-local to be the default deployment repo

We are using a multidomain certificate that supports and

  • ElasticSearch on Elastic Beanstalk
  • docker-compose returning non-zero code: 100
  • Running chrome inside docker container issue
  • Docker - Running Apache and Multiple JARs
  • How to setup hostnames using docker-compose?
  • Using ENTRYPOINT in a Dockerfile makes the base image's CMD be ignored
  • The question is
    Should the nginx configuration be set to the following

    server {
    listen 80;
    listen 443;
     ..... other confug

    With this set up I expect the lients to connect to the virtual repo

    docker push<my-image>

    Is this a valid set up?
    Note that we dont have a wildcard certificate and its not an option.
    Does the multidomain certificate need to support the default deployment directory as well?

  • Jackrabbit with PostgreSQL backend leaves repository in inconsistent state
  • Mount Github link as docker volume
  • 502 http error from nginx+letsencrypt proxy on docker
  • How to clean Docker container logs?
  • quit docker run on travis-ci
  • Docker History Base Image Add:sha256hash
  • One Solution collect form web for “Configuring a docker repository as a subdomain in artifactory”

    So you can do it that way by having multiple servername statements instead of the wildcard, and then using our wild-card rewrite rule as-is as you suggested.
    There is no need to support anything other than the and the as the forward from docker-virtual to the local is internal to artifactory.

    You could also have separate server statements, which would make it easier to have single domain certs separately. The docker one would then be:

    server {
    listen 443;  //docker is ssl only
     ..... other confug
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.