-
I'm posting this in Discussions as I don't think it has to do with the repo at all. I'm pretty new when it comes to development. I figured I'd pick up a few of these Pine64 devices to learn... I'm no stranger to Docker, I run a small Proxmox-based homelab which hosts multiple VMs that run various Docker containers. Same with Git; I know enough to get by and can generally google what I don't know. This, however, is proving to be a bit of a pain. I've been poking at this off and on for the last few months. I'm running Windows 10 and have the container running in Docker desktop, but I cannot figure out how to get My issue is that when I try to run Should I be running this entire operation on a Linux machine instead? Or did I do something wrong? The Readme isn't very clear on where to run things, nor does it point to any references... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
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 |
Beta Was this translation helpful? Give feedback.
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