From: W. Trevor King Date: Wed, 16 Apr 2014 20:18:09 +0000 (-0700) Subject: docker-registry: Enable the SQLAlchemy search backend X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e20c8b75a84b2234fb7fb5d167b4ca257b418518;p=dockerfile.git docker-registry: Enable the SQLAlchemy search backend Now that it has landed [1]. [1]: https://github.com/dotcloud/docker-registry/pull/247 --- 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