mount: unknown filesystem type overlay

You need Linux kernel 3.14++ to use overlayFS.

I need to use overlayFS because Docker recommend to use it

The devicemapper storage driver is deprecated in Docker Engine 18.09, and will be removed in a future release. It is recommended that users of the devicemapper storage driver migrate to overlay2.

It doesn’t work

So, I try to update the newest version kernel from OVH [tutorial 1] [tutorial 2].

I tried to boot with the newest version – 4.19.113-xxxx-std-ipv6-64

What is the problem ?

You can find out that kernel config of OVH 4.19 with this line

# CONFIG_OVERLAY_FS is not set

This made you impossible to use overlay2 in docker

What is the solution ?

You need the kernel that with CONFIG_OVERLAY_FS is set. You need to read the config of the kernel before using it.  
config-4.9.185-xxxx-std-ipv6-64      <----

Make sure it have


Then use the 4.19.185 kernel to solve this problem


Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.