From e20c8b75a84b2234fb7fb5d167b4ca257b418518 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 16 Apr 2014 13:18:09 -0700 Subject: [PATCH] docker-registry: Enable the SQLAlchemy search backend Now that it has landed [1]. [1]: https://github.com/dotcloud/docker-registry/pull/247 --- docker-registry/Dockerfile.template | 2 +- docker-registry/README.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-registry/Dockerfile.template b/docker-registry/Dockerfile.template index 3ff6332..133be13 100644 --- a/docker-registry/Dockerfile.template +++ b/docker-registry/Dockerfile.template @@ -38,5 +38,5 @@ RUN cp --no-clobber docker-registry/config/config_sample.yml docker-registry/con # Container networking happens automatically RUN sed -i 's/need net$/use net/' /etc/init.d/* -CMD cd docker-registry && ./setup-configs.sh && ./run.sh +CMD cd docker-registry && ./setup-configs.sh && ./run.sh --preload EXPOSE 5000 diff --git a/docker-registry/README.md b/docker-registry/README.md index 7341545..9cfa971 100644 --- a/docker-registry/README.md +++ b/docker-registry/README.md @@ -2,6 +2,7 @@ Run this [docker-registry][] image with: $ mkdir /var/lib/docker-registry $ docker run -d --name docker-registry \ + > -e SEARCH_BACKEND=sqlalchemy \ > -v /var/lib/docker-registry:/tmp/registry \ > -p 5000:5000 wking/docker-registry -- 2.26.2