安裝 docker-registry-frontend

 

 

 拉取鏡像  最新的V2docker

docker pull konradkleine/docker-registry-frontend:v2

 

  建立 docker-compose.ymlapache

     

version: '3'
services:
  frontend:
      image: konradkleine/docker-registry-frontend:v2
      restart: always
      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

 

   docker-compose up -d frontend

  成功spa

   

相關文章
相關標籤/搜索