Closed nliviu closed 6 years ago
Snippet from https://github.com/cesanta/mongoose-os/issues/428:
Running docker run --rm -v D:\malotian\iot\strata.sphere\build\objs\fw.elf:/fw.elf -v C:\Users\harjinder_dhanjal\AppData\Local\Temp\core--ESP32-20180516-115305.939998991:/core -v D:\malotian\iot\strata.sphere\deps\mongoose-os:/mongoose-os -v D:\malotian\iot\strata.sphere:D:/malotian/iot/strata.sphere docker.cesanta.com/esp32-build:3.0-rc1-r8 bash -c /usr/local/bin/serve_core.py --rom=/opt/Espressif/rom/rom.bin --rom_addr=0x40000000 --xtensa_addr_fixup=true /fw.elf /core & $MGOS_TARGET_GDB /fw.elf -ex 'target remote 127.0.0.1:1234' -ex 'set confirm off' -ex bt -ex quit docker: Error response from daemon: Mount denied: The source path "D:/malotian/iot/strata.sphere:D" doesn't exist and is not known to Docker.
D:\malotian\iot\strata.sphere:D:/malotian/iot/strata.sphere should translate to D:\malotian\iot\strata.sphere:/d/malotian/iot/strata.sphere
D:\malotian\iot\strata.sphere:D:/malotian/iot/strata.sphere
D:\malotian\iot\strata.sphere:/d/malotian/iot/strata.sphere
Maybe filepath.ToSlash(cwd) should be modified to getPathForDocker(cwd) here
filepath.ToSlash(cwd)
getPathForDocker(cwd)
good point, will do. thanks!
@malotian
Snippet from https://github.com/cesanta/mongoose-os/issues/428:
D:\malotian\iot\strata.sphere:D:/malotian/iot/strata.sphere
should translate toD:\malotian\iot\strata.sphere:/d/malotian/iot/strata.sphere
Maybe
filepath.ToSlash(cwd)
should be modified togetPathForDocker(cwd)
here