Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[docker-29.x backport] daemon/volumes: More fs friendly image mount layer names#51829

Merged
vvoland merged 1 commit into
moby:docker-29.xmoby/moby:docker-29.xfrom
thaJeztah:29.x_backport_fix-image-mountthaJeztah/docker:29.x_backport_fix-image-mountCopy head branch name to clipboard
Jan 8, 2026
Merged

[docker-29.x backport] daemon/volumes: More fs friendly image mount layer names#51829
vvoland merged 1 commit into
moby:docker-29.xmoby/moby:docker-29.xfrom
thaJeztah:29.x_backport_fix-image-mountthaJeztah/docker:29.x_backport_fix-image-mountCopy head branch name to clipboard

Conversation

@thaJeztah

Copy link
Copy Markdown
Member

daemon/volumes: More fs friendly image mount layer names

Hash the container ID, mount source and destination together to form a layer name.

This ensures the generated names are filesystem-friendly and don't exceed path length limits while maintaining uniqueness across different mount points and containers.

Fix image mounts failing with "file name too long" for long mount paths

Hash the container ID, mount source and destination together to form a
layer name.

This ensures the generated names are filesystem-friendly and don't
exceed path length limits while maintaining uniqueness across different
mount points and containers.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit cb88c6b)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah added this to the 29.1.4 milestone Jan 8, 2026
@github-actions github-actions Bot added the area/daemon Core Engine label Jan 8, 2026
@thaJeztah thaJeztah added impact/changelog area/volumes Volumes area/images Image Service kind/bugfix PR's that fix bugs labels Jan 8, 2026
@vvoland vvoland removed the area/daemon Core Engine label Jan 8, 2026
@vvoland
vvoland merged commit b0e6206 into moby:docker-29.x Jan 8, 2026
196 of 197 checks passed
@thaJeztah
thaJeztah deleted the 29.x_backport_fix-image-mount branch January 8, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.