Docker and OverlayFS

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite
1












I'm trying to learn about docker and the overlayFS, as suggest by the official website, I installed the last kernel:



4.8.11-1.el7.elrepo.x86_64


and as suggest by them to ensure that overlay is good to go, I used:



 $ lsmod | grep overlay


But no success, it is because I don't have any FS or directory that is mounted with overlay, or should I do something else, like installing or loading the overlay kernel module? If so, can you suggest to me any tutorial to do so



For information I'm on:



CentOS Linux release 7.2.1511 (Core)









share|improve this question



























    up vote
    2
    down vote

    favorite
    1












    I'm trying to learn about docker and the overlayFS, as suggest by the official website, I installed the last kernel:



    4.8.11-1.el7.elrepo.x86_64


    and as suggest by them to ensure that overlay is good to go, I used:



     $ lsmod | grep overlay


    But no success, it is because I don't have any FS or directory that is mounted with overlay, or should I do something else, like installing or loading the overlay kernel module? If so, can you suggest to me any tutorial to do so



    For information I'm on:



    CentOS Linux release 7.2.1511 (Core)









    share|improve this question

























      up vote
      2
      down vote

      favorite
      1









      up vote
      2
      down vote

      favorite
      1






      1





      I'm trying to learn about docker and the overlayFS, as suggest by the official website, I installed the last kernel:



      4.8.11-1.el7.elrepo.x86_64


      and as suggest by them to ensure that overlay is good to go, I used:



       $ lsmod | grep overlay


      But no success, it is because I don't have any FS or directory that is mounted with overlay, or should I do something else, like installing or loading the overlay kernel module? If so, can you suggest to me any tutorial to do so



      For information I'm on:



      CentOS Linux release 7.2.1511 (Core)









      share|improve this question















      I'm trying to learn about docker and the overlayFS, as suggest by the official website, I installed the last kernel:



      4.8.11-1.el7.elrepo.x86_64


      and as suggest by them to ensure that overlay is good to go, I used:



       $ lsmod | grep overlay


      But no success, it is because I don't have any FS or directory that is mounted with overlay, or should I do something else, like installing or loading the overlay kernel module? If so, can you suggest to me any tutorial to do so



      For information I'm on:



      CentOS Linux release 7.2.1511 (Core)






      centos mount docker overlayfs






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 19 at 18:21









      slm♦

      238k65493664




      238k65493664










      asked Dec 8 '16 at 14:21









      Omar BISTAMI

      3718




      3718




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          enable the kernel module with




          modprobe overlay




          alternatively add overlay to systemd :




          echo "overlay" > /etc/modules-load.d/overlay.conf




          and restart






          share|improve this answer




















          • I also modify /lib/systemd/system/docker.service by adding in [Service] ExecStart=/usr/bin/dockerd --storage-driver=overlay2 , that means whenever i start/reboot docker it will use overlay2 as storage driver
            – Omar BISTAMI
            Jan 10 '17 at 14:19










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f328978%2fdocker-and-overlayfs%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          2
          down vote



          accepted










          enable the kernel module with




          modprobe overlay




          alternatively add overlay to systemd :




          echo "overlay" > /etc/modules-load.d/overlay.conf




          and restart






          share|improve this answer




















          • I also modify /lib/systemd/system/docker.service by adding in [Service] ExecStart=/usr/bin/dockerd --storage-driver=overlay2 , that means whenever i start/reboot docker it will use overlay2 as storage driver
            – Omar BISTAMI
            Jan 10 '17 at 14:19














          up vote
          2
          down vote



          accepted










          enable the kernel module with




          modprobe overlay




          alternatively add overlay to systemd :




          echo "overlay" > /etc/modules-load.d/overlay.conf




          and restart






          share|improve this answer




















          • I also modify /lib/systemd/system/docker.service by adding in [Service] ExecStart=/usr/bin/dockerd --storage-driver=overlay2 , that means whenever i start/reboot docker it will use overlay2 as storage driver
            – Omar BISTAMI
            Jan 10 '17 at 14:19












          up vote
          2
          down vote



          accepted







          up vote
          2
          down vote



          accepted






          enable the kernel module with




          modprobe overlay




          alternatively add overlay to systemd :




          echo "overlay" > /etc/modules-load.d/overlay.conf




          and restart






          share|improve this answer












          enable the kernel module with




          modprobe overlay




          alternatively add overlay to systemd :




          echo "overlay" > /etc/modules-load.d/overlay.conf




          and restart







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 9 '17 at 12:29









          Danny Goossen

          1363




          1363











          • I also modify /lib/systemd/system/docker.service by adding in [Service] ExecStart=/usr/bin/dockerd --storage-driver=overlay2 , that means whenever i start/reboot docker it will use overlay2 as storage driver
            – Omar BISTAMI
            Jan 10 '17 at 14:19
















          • I also modify /lib/systemd/system/docker.service by adding in [Service] ExecStart=/usr/bin/dockerd --storage-driver=overlay2 , that means whenever i start/reboot docker it will use overlay2 as storage driver
            – Omar BISTAMI
            Jan 10 '17 at 14:19















          I also modify /lib/systemd/system/docker.service by adding in [Service] ExecStart=/usr/bin/dockerd --storage-driver=overlay2 , that means whenever i start/reboot docker it will use overlay2 as storage driver
          – Omar BISTAMI
          Jan 10 '17 at 14:19




          I also modify /lib/systemd/system/docker.service by adding in [Service] ExecStart=/usr/bin/dockerd --storage-driver=overlay2 , that means whenever i start/reboot docker it will use overlay2 as storage driver
          – Omar BISTAMI
          Jan 10 '17 at 14:19

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f328978%2fdocker-and-overlayfs%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Displaying single band from multi-band raster using QGIS

          How many registers does an x86_64 CPU actually have?