Installation docker-registry-frontend

 

 

 Pull the latest V2 Mirror

docker pull konradkleine/docker-registry-frontend:v2

 

  Create a docker-compose.yml

     

frontend:
    image: konradkleine/docker-registry-frontend:v2
    ports:
      - 8080:80
    volumes:
      - /certs/frontend.crt:/etc/apache2/server.crt:ro
      - /certs/frontend.key:/etc/apache2/server.key:ro
    environment:
      - ENV_DOCKER_REGISTRY_HOST=192.168.59.131
      - ENV_DOCKER_REGISTRY_PORT=5000

  I yaml directly added to the file docker-registry of (multiple services)

   docker-compose up -d 

  success

   

 

   

 

Guess you like

Origin www.cnblogs.com/qin1993/p/11413926.html