DEV Community

Discussion on: A curious case of slow Docker image builds

Collapse
 
alwynschoeman profile image
Alwyn Schoeman

Hi Jarek,

On CE 18 I have applied your configuration and even though the module parameter is set as off, docker still reports native overlay diff as false.

It mentions the kernel config parameter in the log warning, wonder if it even checks the actual system.

Collapse
 
echterago profile image
Axel Gembe • Edited

I've had the issue where redirect_dir=off didn't solve the issue as well. Turns out more recent kernels (>= 4.20) enable redirect_dir when metacopy is on. You need to set metacopy=off redirect_dir=off as module parameters.

github.com/torvalds/linux/commit/d...
spinics.net/lists/linux-unionfs/ms...