hepsw / docks

a set of Dockerfiles defining docker containers for HEP software and appliances.
BSD 3-Clause "New" or "Revised" License
17 stars 13 forks source link

Remove VOLUME directive in cvmfs-base #8

Closed cshimmin closed 9 years ago

cshimmin commented 9 years ago

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.

Note that end-users can easily expose /cvmfs as a volume at invocation-time with the -v flag, or by using docker-compose.

sbinet commented 9 years ago

thanks. fixed w/ 5fa2569