root on zfs overlayfs issue with docker (RENAME_WHITEOUT)

kyriazis

Active Member
Oct 28, 2019
96
4
28
Austin, TX
Hello,

I have some LXC containers with docker running inside them. Those work well with root-on-ext4, with the required changes in the .conf files.

When I do the same on root-on-zfs, I get the following messages in the console:

Code:
overlayfs: upper fs does not support RENAME_WHITEOUT.
overlayfs: upper fs is missing required features.

Are these harmless? Those containers work as expected, but will this cause an issue later on?

Thank you!
 
First: Docker is best used inside of VMs. This was true and still is true.
Running Docker inside of LX(C) containers is still not on par with "native" emulation and can still break sometimes - at least it did in the past. Docker is officially not supported in LX(C) containers in PVE, therefore it may or may not work as expected. Running with any type of additional virtualization of a filesystem (aufs, overlayfs, ...) on top of ZFS can work but is certainly not fast. So to answer your question, your guess is as good as mine.

I also see some hickups with Docker and containers and it is not running as smoothly as it would be in a "real" VM.
I still hope to see ZFS support inside LX(C) containers, so that you can directly use ZFS with Docker, which is superior to any other form when already run on ZFS. This would be a huge speed improvement and any additional filesystem virtualization layer is then unnecessary.
 
  • Like
Reactions: Helmut101
I see the same with Proxmox 7.1-8 and Docker in unprivileged LXCs. I did not notice any issues or performance Problems, usually this is only reported once, when the LXC/Docker starts. All my containers still work.

I have /var/lib/docker mounted from a ZVOL (ZFS) that is formatted as XFS.
 
  • Like
Reactions: albert_a
I've started seeing a problem with `overlay2` and lxc, where my container would not even start. Been running this container for a few years in LXC / PVE without much problems until now. So had to switch to `vfs` storage driver, consumes more disk space but for my use case, seems fine so far.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!