Skip to content

Fix overlay mount order with multiple lower layers - #2

Merged
JosephRedfern merged 1 commit into
JosephRedfern:mainfrom
JGRennison:main
Nov 18, 2026
Merged

JosephRedfern merged 1 commit into
JosephRedfern:mainfrom
JGRennison:main

Conversation

@JGRennison

Copy link
Copy Markdown
Contributor

Overlay mounts for docker containers with multiple layers mounted the lower layers in reverse order.
In the case where a file in a base layer should have been replaced by the same file in a later layer, instead the overlay mount used the file from the lowest layer.
This adjusts the mount command to use the correct order for lowerdir layers.

@JosephRedfern
JosephRedfern merged commit 1561298 into JosephRedfern:main Nov 18, 2026
@JosephRedfern

Copy link
Copy Markdown
Owner

Thank you for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants