export a volume for the registry

This commit is contained in:
Vincent Batts 2014-03-06 13:19:02 -05:00
parent 770191f264
commit fb33ccc6c8

View file

@ -3,6 +3,8 @@ FROM fedora
RUN yum install -y docker-registry
ADD run.sh /srv/run.sh
EXPOSE 5000
CMD "/srv/run.sh"
VOLUME ["/var/lib/docker-registry"]
EXPOSE 5000
CMD ["/srv/run.sh"]