github.com/cvmfs/docker-graphdriver@v0.0.0-20181206110523-155ec6df0521/README.md (about) 1 # docker-graphdriver 2 CernVM-FS Graph Driver for Docker 3 4 # Introduction 5 6 Docker is a popular containerization technology both in industry and in science 7 because it makes containers easy to create, manage and share. Docker images are 8 composed of shared layers to save space and bandwidth, but the price for 9 obtaining image is very high. For instance, to start a cluster of 1000 nodes 10 using an image of 1 GB your network has to transfer 1 TB at once and as quickly 11 as possible. 12 13 On average only 6% of the image is required [1]. We developed a Docker plugin 14 [2] to refine data reuse granularity from layers to files. Additionally, the 15 download is delayed until the file is accessed for the first time. Using this 16 approach and CernVM-FS [3], only a fraction of the image is initially 17 transferred and containers start instantly. 18 19 This project is presented at ACAT 2017 in Seattle. You can get the poster in PDF 20 here: [Making Containers Lazy with Docker and CernVM-FS](https://cernbox.cern.ch/index.php/s/ztVY6EgRua5IxIj). 21 22 # Quickstart 23 24 You can obtain and test this plugin this way: 25 26 ``` 27 $ docker plugin install cvmfs/overlay2-graphdriver 28 $ docker plugin enable cvmfs/overlay2-graphdriver 29 30 # Restart Docker daemon with flags --experimental -s cvmfs/overlay2-graphdriver 31 $ docker run -it cvmfs/thin_ubuntu echo "Hello ACAT 2017" 32 ``` 33 34 *Notice:* make sure that the overlay Linux kernel module is available and loaded 35 (`sudo modprobe overlay`). 36 37 # Project Status 38 39 This project is in an early experimental phase. It can be used in realistic 40 scenarios but it hasn't yet reached production quality. 41 42 # Contact 43 44 If you have any questions or need help with testing, please to write to 45 nikola.hardi@cern.ch (link sends e-mail). 46 47 # References 48 49 1. [Slacker: Fast Distribution with Lazy Docker Containers](https://www.usenix.org/node/194431) 50 2. https://github.com/cvmfs/docker-graphdriver 51 3. [The Evolution of Global Scale Filesystems for Scientific Software Distribution](http://ieeexplore.ieee.org/document/7310920/?arnumber=7310920) 52 4. https://gitlab.cern.ch/cloud-infrastructure/docker-volume-cvmfs/ 53 5. http://singularity.lbl.gov