Skip to content

Conversation

@loicleyendecker
Copy link
Contributor

When a volume name ends in "r", "o", or "w", it currently gets stripped which results in a mount created on the host with an incorrect name. The fix simply consists in not using the rstrip method but manually checking for ":rw" and ":ro" at the end of the string.

Signed-off-by: Loïc Leyendecker loic.leyendecker@gmail.com

Signed-off-by: Loïc Leyendecker <loic.leyendecker@gmail.com>
Copy link
Contributor

@milas milas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Nice find 🙃

@milas milas added this to the 6.x-next milestone Dec 1, 2022
@milas milas self-assigned this Dec 1, 2022
@milas milas added the kind/bug label Dec 1, 2022
@milas milas merged commit 82cf559 into docker:main Dec 2, 2022
@milas milas removed this from the 6.x-next milestone Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants