LXC with nested Docker => "overlayfs: upper fs missing required features."

i follow these but some parts i dont understand much as im just a newbie in this linux world. anyone please kindly at least show me step by step how to make a LXC that have docker use fuse-overlay so that i can install some of the docker images such as jdowloader2 or calibre as my current docker cant make it run :(
 
especially if you are a newbie in this linux world : do not use docker inside lxc containers.

lxc containers have by far more bells and whistles and compatibility issues then ordinary vm's

take an ordinary linux os and install in a VM and install docker there.

especially when being a newbie, you should concentrate on learning things and not applying quirks or pulling your hair out because of weird behaviour which is hard to analyze/explain. docker inside lxc also may easily break because of pve updates
 
Last edited:
especially if you are a newbie in this linux world : do not use docker inside lxc containers.

lxc containers have by far more bells and whistles and compatibility issues then ordinary vm's

take an ordinary linux os and install in a VM and install docker there.

especially when being a newbie, you should concentrate on learning things and not applying quirks or pulling your hair out because of weird behaviour which is hard to analyze/explain. docker inside lxc also may easily break because of pve updates
Thanks for the tip but most of the VM use like a big iso because it have GUI. Is there anything lightweight and easy to use so i can start from there? i use LXC because most of tutorials on the net they use LXC so i just followed that path .
 
minimal debian12 should be well below 2gb size (on disk)
Thanks for your reply that when i switch to VM all the problem solved. however i can't find the debian minimal you mention so i ended up using ubuntu live server 22. Now everything works but i cost me more than 2Gb of ram for calibre and jdownloader docker containers, way more than when i'm using LXC. so i think i need to turn off and on when i need it. Again thanks for your help.
 
Thanks for your reply that when i switch to VM all the problem solved. however i can't find the debian minimal you mention so i ended up using ubuntu live server 22. Now everything works but i cost me more than 2Gb of ram for calibre and jdownloader docker containers, way more than when i'm using LXC. so i think i need to turn off and on when i need it. Again thanks for your help.
Just use an ordinary Debian install iso and do not install any GUI.
 
  • Like
Reactions: Akhademik
i follow these but some parts i dont understand much as im just a newbie in this linux world. anyone please kindly at least show me step by step how to make a LXC that have docker use fuse-overlay so that i can install some of the docker images such as jdowloader2 or calibre as my current docker cant make it run :(
 
I migrated my Docker container installation from ZFS to Ceph (Ceph shows as ext4 in a container). Ubuntu 20-04, unprivileged, nesting=1, keyctl=1, apt install docker.io, docker run hello-world

In my lab environment containers save so many resources (memory, cpu, disk) that I can run Ceph on my three node cluster (4 x 2TB SSDs, 24GB mem, 2x10Gb NICs, per node) and not notice any slowdown as compared to mirrored ZFS.
 
  • Like
Reactions: Akhademik