Skip to content

Docker on Windows? #98

Answered by Ralim
Lka1988 asked this question in Q&A
Apr 5, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

When mixing a Linux docker with windows host it can get messy.

Whats happened here is you likely cloned down the repository in windows got, which has re-written all the like endings to CRLF when Linux wants just LF.

The best solution for windows I've found is to use WSL, and do the git clone inside the that and also do docker etc inside it. Most tools should be WSL aware now (vscode, visual studio etc all are) and so you should be able to set the idea to use WSL instead of the windows command line

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Lka1988
Comment options

@Ralim
Comment options

Ralim Apr 5, 2024
Maintainer

@Lka1988
Comment options

Answer selected by shymega
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants