Skip to content

[27.x backport] command: change drive to lowercase for wsl path - #5449

Merged
thaJeztah merged 1 commit into
docker:27.xfrom
laurazard:backport-lowercase-windows-drive
Sep 18, 2024
Merged

[27.x backport] command: change drive to lowercase for wsl path#5449
thaJeztah merged 1 commit into
docker:27.xfrom
laurazard:backport-lowercase-windows-drive

Conversation

@laurazard

Copy link
Copy Markdown
Member

Backports: #5445

On Windows, the drive casing doesn't matter outside of WSL. For WSL, the
drives are lowercase. When we're producing a WSL path, lowercase the
drive letter.
Co-authored-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
Co-authored-by: Laura Brehm <laurabrehm@hey.com>
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
(cherry picked from commit 3472bbc)
Signed-off-by: Laura Brehm <laurabrehm@hey.com>

@thaJeztahthaJeztah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@thaJeztah
thaJeztah merged commit ddf8f23 into docker:27.xSep 18, 2024
Sign up for freeto 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

@laurazard@thaJeztah@jsternberg