Dockerfile: Expose the swarm storage directory as a volume.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2015-01-30 17:42:48 -08:00
parent a2203a92a5
commit 3da0aaf753
1 changed files with 1 additions and 0 deletions

View File

@ -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"]