Skip to content

Why does overlayfs2 have a limit of 125 layers? #46740

Answered by cpuguy83
jerrac asked this question in Q&A
Discussion options

You must be logged in to vote

This is due to the size of mount options being limited to the page size in the kernel.
The containerd overlayfs driver does have a workaround for their overlayfs driver but it is not implemented in docker's grpahdrivers.

It is not configurable because that is a hard-coded in your kernel, and it wouldn't be portable even if your kernel supported larger pages.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jerrac
Comment options

@corhere
Comment options

@jerrac
Comment options

Answer selected by jerrac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants