Docker and OverlayFS
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
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
add a comment |Â
up vote
2
down vote
favorite
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
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
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
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
centos mount docker overlayfs
edited Aug 19 at 18:21
slmâ¦
238k65493664
238k65493664
asked Dec 8 '16 at 14:21
Omar BISTAMI
3718
3718
add a comment |Â
add a comment |Â
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
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
add a comment |Â
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
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
add a comment |Â
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
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
add a comment |Â
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
enable the kernel module with
modprobe overlay
alternatively add overlay to systemd :
echo "overlay" > /etc/modules-load.d/overlay.conf
and restart
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
add a comment |Â
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
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password