Use a data volume container for BoltDB files.

We provide a very small image to use for this container.
Also we add an empty weavedata.db file to weave image so it doesn't crash when run without volume override
This commit is contained in:
Bryan Boreham committed 2016-04-13 16:07:55 +01:00
1 parent 6b08f97910
commit 358342aa4f
6 files changed
+27 -3

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
# This is a nearly-empty image that we use to create a data-only container for persistence
FROM scratch
MAINTAINER Weaveworks Inc <help@weave.works>
ENTRYPOINT ["data-only"]
# Work round Docker refusing to save an empty image
COPY Dockerfile /