Now that it has landed [1].
[1]: https://github.com/dotcloud/docker-registry/pull/247
# 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
$ 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