This docker image can be used to mount the GlueX software in /group/halld/Software locally in the container so it can be run on a laptop or desktop.
For this to work, the fuse module must be installed in the container. This can't actually be done when the image is created so the mount-cvmfs.sh entrypoint script is provided to do it automatically when the container is started.
One also needs to run docker with the "--privileged" option for this to work. To make this easy and to provide better integration with the host filesystem (same uid and gid) a slightly modified version of the dsh script is included in the image. The best way to run this is something like:
docker run -it --rm jeffersonlab/gluex-cvmfs get_dsh | tr -d "\r" > dsh
chmod +x dsh
./dsh jeffersonlab/gluex-cvmfs -gdb
The "-gdb" argument is optional, but is needed if you want to run gdb inside the container.
The first two lines above only need to be run once. The dsh script will automatically create a container if it does not find one already running. If there is one already running for this image, it will just "exec" into that. To stop the container, you'll need to run:
./dsh jeffersonlab/gluex-cvmfs -s
or just use the normal "docker stop" and "docker rm" commands.
The dsh script will also open the ports needed to open X-windows so you can run graphical applications in the container (i.e. root).
The source for this is maintained here: https://github.com/faustus123/hdcontainers
Content type
Image
Digest
Size
340.7 MB
Last updated
over 6 years ago
docker pull jeffersonlab/gluex-cvmfs