export a volume for the registry
This commit is contained in:
parent
770191f264
commit
fb33ccc6c8
1 changed files with 4 additions and 2 deletions
|
@ -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"]
|
||||
|
||||
|
|
Loading…
Reference in a new issue