From 3f39207eb1cee5252c8d96252bb729696f47e44d Mon Sep 17 00:00:00 2001 From: Chase Shimmin Date: Mon, 5 Oct 2015 16:18:15 +0200 Subject: [PATCH] Remove VOLUME directive in cvmfs-base Exposing /cvmfs as a VOLUME in the base image seems to prevent Dockerfiles of deriviative images from making persistent changes to this directory. In particular, in cvmfs-atlas one gets an error at runtime because the /cvmfs/atlas.cern.ch directory is missing, despite the fact that it is created by the Dockerfile at build-time. --- cvmfs-base/Dockerfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/cvmfs-base/Dockerfile b/cvmfs-base/Dockerfile index 84e68e3..0e07a64 100644 --- a/cvmfs-base/Dockerfile +++ b/cvmfs-base/Dockerfile @@ -54,8 +54,6 @@ RUN chmod uga+rx \ /usr/bin/cubied \ ; -VOLUME ["/cvmfs"] - ## make the whole container seamlessly executable ENTRYPOINT ["/usr/bin/cubied"] CMD ["bash"]