mirror of https://github.com/docker/docs.git
Dockerfile: Expose the swarm storage directory as a volume.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
a2203a92a5
commit
3da0aaf753
|
@ -7,6 +7,7 @@ ENV GOPATH $GOPATH:/go/src/github.com/docker/swarm/Godeps/_workspace
|
|||
RUN CGO_ENABLED=0 go install -v -a -tags netgo -ldflags '-w'
|
||||
|
||||
EXPOSE 2375
|
||||
VOLUME $HOME/.swarm
|
||||
|
||||
ENTRYPOINT ["swarm"]
|
||||
CMD ["--help"]
|
||||
|
|
Loading…
Reference in New Issue