Power & Source of Big Ideas

overlay2 on docker

Moderators: chensy, FATechsupport

FriendlyWRT 22.03.5 with Docker on NanoPi R6S
Docker works fine but it only supports vfs fs, which generates oversized chucks of files.
When I pull 300~500MB docker, vfs folder size is over 21G.
Best solution is to use overlay2 fs on docker but it seems not supported. I manually forced to put those option on daemon.json then docker can't start. Anyone has any idea how to solve this? Pruning doesn't make on vfs folder optimized at all.

I'm looking for solution either enabling overlay2 fs on docker or changing MMC fs to ext4/xfs.
fkiller wrote:
FriendlyWRT 22.03.5 with Docker on NanoPi R6S
Docker works fine but it only supports vfs fs, which generates oversized chucks of files.
When I pull 300~500MB docker level devil, vfs folder size is over 21G.
Best solution is to use overlay2 fs on docker but it seems not supported. I manually forced to put those option on daemon.json then docker can't start. Anyone has any idea how to solve this? Pruning doesn't make on vfs folder optimized at all.

I'm looking for solution either enabling overlay2 fs on docker or changing MMC fs to ext4/xfs.



You should enable `overlay2` by ensuring kernel support. The `overlay2` storage driver relies on the Linux kernel's OverlayFS module. If this module is not compiled into your FriendlyWRT kernel or is not available as a loadable module, Docker will not be able to use it.

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 1 guest