Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove VOLUME directive in cvmfs-base #8

Closed
wants to merge 1 commit into from

Conversation

cshimmin
Copy link
Contributor

@cshimmin cshimmin commented Oct 5, 2015

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.

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.
@sbinet
Copy link
Contributor

sbinet commented Oct 5, 2015

thanks. fixed w/ 5fa2569

@sbinet sbinet closed this Oct 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants