2020
12-14
12-14
docker-compose快速搭建docker私有仓库的步骤
创建docker-compose.yml并填入如下内容version:'3'services:registry:restart:alwaysimage:registry:2ports:-5000:5000environment:REGISTRY_HTTP_TLS_CERTIFICATE:/certs/registry.crtREGISTRY_HTTP_TLS_KEY:/certs/registry.keyREGISTRY_AUTH:htpasswdREGISTRY_AUTH_HTPASSWD_PATH:/auth/htpasswdREGISTRY_AUTH_HTPASSWD_REALM:RegistryRealmvolumes:-/home/docker/registry:/var/lib/registry...
继续阅读 >