Matt Gowie
10/04/2023, 7:18 PM# Starting new toolbox session from toolbox:latest
# Exposing port 32440
docker: Error response from daemon: mkdir C:\Users\<USERNAME>;C: Access is denied.
See 'docker run --help'.
I know that sadly isn't a lot to go on... but just reaching out in case. When searching around GH issues I didn't see anything. Wondering if anyone here has seen that and has any advice to debug. We don't have a windows machine at Masterpoint so we're struggling.Matt Gowie
10/04/2023, 8:27 PMdocker run -it --rm --volume "$HOME:/localhost" toolbox:latest -c bash
2. docker run -it --rm toolbox:latest -c bash
The first results in the same error as above. The second does not.Erik Osterman (Cloud Posse)
10/06/2023, 7:47 PMErik Osterman (Cloud Posse)
10/06/2023, 7:47 PMErik Osterman (Cloud Posse)
10/06/2023, 7:47 PMMatt Gowie
10/06/2023, 10:22 PMif users are using onedrive for their homeI will check up on this... We also weren't pushing multi-platform images, so we just started doing that as well.
Jeremy White (Cloud Posse)
10/11/2023, 1:39 PMJeremy White (Cloud Posse)
10/11/2023, 2:00 PMDan Miller (Cloud Posse)
10/11/2023, 3:26 PMMatt Gowie
10/12/2023, 4:43 PMMSYS_NO_PATHCONV=1 env var. That enabled us to at least start our toolbox with -c bash and then we are directing users to change directory to wherever the project is, which is totally fine. Thanks for the follow ups though and appreciate the help!Erik Osterman (Cloud Posse)
10/12/2023, 5:37 PMMSYS_NO_PATHCONV=1 looks like it might fix one of the things we've been struggling with!!Erik Osterman (Cloud Posse)
10/12/2023, 5:39 PMErik Osterman (Cloud Posse)
10/12/2023, 5:39 PMJeremy G (Cloud Posse)
11/03/2023, 10:25 PMMSYS_NO_PATHCONV. I'm wondering if, without that set, this command works for you:
docker run -it --rm --volume "/$HOME:/localhost" toolbox:latest -c bashMatt Gowie
11/04/2023, 5:51 PM/ in front of $HOME and it didn't work. It has been a bit now and I actually don't have access to the windows machines in question to test, so I can't say, but I think we tried that and it failed.Jeremy G (Cloud Posse)
11/04/2023, 8:27 PM/, causing the expanded value to start with //, would prevent the problematic conversion, but I don't have a system to test it on.Matt Gowie
11/04/2023, 8:31 PMJeremy G (Cloud Posse)
11/04/2023, 9:15 PMErik Osterman (Cloud Posse)
11/06/2023, 3:55 PMwslpath command we can use to also simplify finding paths.Jeremy G (Cloud Posse)
11/08/2023, 10:49 PMbash command line without using WSL. Git Bash by default converts POSIX paths to Windows paths where it things arguments are paths so it can interoperate with Windows commands. This is just a hacky solution suited to the 1990's and given that WSL is free with Windows, not something we should spend time supporting. That said, we have 2 solutions available:
1. export MSYS_NO_PATHCONV=1
2. Add an extra / to the beginning of the directory path