Skip to content

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

Merged
vvoland merged 1 commit intomoby:docker-29.xfrom
thaJeztah:29.x_backport_fix-image-mount
Jan 8, 2026
Merged

[docker-29.x backport] daemon/volumes: More fs friendly image mount layer names#51829
vvoland merged 1 commit intomoby:docker-29.xfrom
thaJeztah:29.x_backport_fix-image-mount

Conversation

@thaJeztah
Copy link
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 Distribution 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