diff --git a/docs/getting-started-guides/aws/cloud-configs/master.yaml b/docs/getting-started-guides/aws/cloud-configs/master.yaml index 72613a4ed251d..e7e903e5e9dc1 100644 --- a/docs/getting-started-guides/aws/cloud-configs/master.yaml +++ b/docs/getting-started-guides/aws/cloud-configs/master.yaml @@ -100,8 +100,11 @@ coreos: ExecStartPre=-/usr/bin/docker kill docker-registry ExecStartPre=-/usr/bin/docker rm docker-registry ExecStartPre=/usr/bin/docker pull quay.io/devops/docker-registry:latest + # GUNICORN_OPTS is an workaround for + # https://github.com/docker/docker-registry/issues/892 ExecStart=/usr/bin/docker run --rm --net host --name docker-registry \ -e STANDALONE=false \ + -e GUNICORN_OPTS=[--preload] \ -e MIRROR_SOURCE=https://registry-1.docker.io \ -e MIRROR_SOURCE_INDEX=https://index.docker.io \ -e MIRROR_TAGS_CACHE_TTL=1800 \ diff --git a/docs/getting-started-guides/coreos/cloud-configs/master.yaml b/docs/getting-started-guides/coreos/cloud-configs/master.yaml index 25fd8cee24def..5bb9297b66000 100644 --- a/docs/getting-started-guides/coreos/cloud-configs/master.yaml +++ b/docs/getting-started-guides/coreos/cloud-configs/master.yaml @@ -102,8 +102,11 @@ coreos: ExecStartPre=-/usr/bin/docker kill docker-registry ExecStartPre=-/usr/bin/docker rm docker-registry ExecStartPre=/usr/bin/docker pull quay.io/devops/docker-registry:latest + # GUNICORN_OPTS is an workaround for + # https://github.com/docker/docker-registry/issues/892 ExecStart=/usr/bin/docker run --rm --net host --name docker-registry \ -e STANDALONE=false \ + -e GUNICORN_OPTS=[--preload] \ -e MIRROR_SOURCE=https://registry-1.docker.io \ -e MIRROR_SOURCE_INDEX=https://index.docker.io \ -e MIRROR_TAGS_CACHE_TTL=1800 \ diff --git a/docs/getting-started-guides/coreos/cloud-configs/standalone.yaml b/docs/getting-started-guides/coreos/cloud-configs/standalone.yaml index e267e640bde26..4a9e4e0fabc87 100644 --- a/docs/getting-started-guides/coreos/cloud-configs/standalone.yaml +++ b/docs/getting-started-guides/coreos/cloud-configs/standalone.yaml @@ -63,8 +63,11 @@ coreos: ExecStartPre=-/usr/bin/docker kill docker-registry ExecStartPre=-/usr/bin/docker rm docker-registry ExecStartPre=/usr/bin/docker pull quay.io/devops/docker-registry:latest + # GUNICORN_OPTS is an workaround for + # https://github.com/docker/docker-registry/issues/892 ExecStart=/usr/bin/docker run --rm --net host --name docker-registry \ -e STANDALONE=false \ + -e GUNICORN_OPTS=[--preload] \ -e MIRROR_SOURCE=https://registry-1.docker.io \ -e MIRROR_SOURCE_INDEX=https://index.docker.io \ -e MIRROR_TAGS_CACHE_TTL=1800 \