[docker-29.x backport] daemon/volumes: More fs friendly image mount layer names by thaJeztah · Pull Request #51829 · moby/moby (original) (raw)

@vvoland @thaJeztah

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 deleted the 29.x_backport_fix-image-mount branch

January 8, 2026 17:21

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})