making sure docker registry has knowledge of the host
This commit is contained in:
@@ -103,8 +103,8 @@ restart_docker_engine () {
|
||||
|
||||
# On Linux, restart through "systemd"
|
||||
elif [ "$(uname)" == "Linux" ] && is_program_installed "systemctl"; then
|
||||
sudo systemctl stop docker.service || true
|
||||
sudo systemctl start docker.service
|
||||
sudo systemctl stop snap.docker.dockerd.service || true
|
||||
sudo systemctl start snap.docker.dockerd.service
|
||||
|
||||
# Other platforms are not supported
|
||||
else
|
||||
|
||||
@@ -11,6 +11,7 @@ services:
|
||||
REGISTRY_AUTH_HTPASSWD_REALM: Registry
|
||||
REGISTRY_AUTH_HTPASSWD_PATH: /auth/registry.password
|
||||
REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY: /data
|
||||
REGISTRY_HTTP_HOST: https://registry.flowy.live:5443
|
||||
volumes:
|
||||
- ./auth:/auth
|
||||
- ./data:/data
|
||||
|
||||
Reference in New Issue
Block a user