Closed Kylir closed 8 years ago
Jason, thanks a bunch for this! Just the other day I got a support request via email from a guy who struggled with the exact same problem. As I don't use Windows myself my hands were tied and I couldn't help, very frustrating. I'll update the README accordingly.
double forward back slashes
Uuhhm, what's that? Wouldn't a forward back slash negate itself and thus become a pipe (|
) :wink: ?
Hehehe :) Silly me! Double forward slashes, of course! It's horrible enough...
Jason, are you sure you need the //
also in front of the "Docker path" i.e. the mount target? I think you only need them for the Windows path. It should be //c/Users/<user>/nodemcu-firmware:/opt/nodemcu-firmware
no?
Hi there,
Sorry for the delay.
I just tested and I can use both: /opt...
or //opt...
. It does not make any difference for me.
Thanks for the confirmation! I updated README.md to document all the findings.
An addendum to this: I had to give Docker access to the drive containing my repository, in Settings/Shared Drives, before the "Not a git repository" error would go away.
First of all you need to give Docker access to the drive containing my repository, in Settings/Shared Drives!!! This helped me and then try to use the command line without --rm
docker run -it -v //c/users/<user>/nodemcu-firmware://opt/nodemcu-firmware marcelstoer/nodemcu-build
It checked on Windows 10!
Have a nice day.
Hi there!
Thanks for this super useful container! I managed to build my custom firmware and add support for a non conventional (128x32) oled screen.
I struggled a little bit to run the docker command on Windows so I thought I would share the simple trick I found. You need to specify the full path in the command and you need to add a double forward back slashes (
//
) in front of the two paths. The command is then:docker run --rm -it -v //c/Users/<user>/nodemcu-firmware://opt/nodemcu-firmware marcelstoer/nodemcu-build
I can submit a pull request with an updated README file if it helps.
Thanks!