From 2c3c4adaa389579b443d9bb87fb760389e07bf72 Mon Sep 17 00:00:00 2001 From: Jakub Kocka Date: Tue, 5 Sep 2023 15:18:15 +0200 Subject: [PATCH] docs(docker): Update Using Remote Serial Port chapter By default some shells such as zsh has NOMATCH option set (https://zsh.sourceforge.io/Doc/Release/Options.html). The root cause of the problem is that while bash expands the parameter to itself if it does not match any filename, the zsh reports an error. IOW if we do % setopt nonomatch it will work even in zsh. Closes https://github.com/espressif/esp-idf/issues/12060 --- docs/en/api-guides/tools/idf-docker-image.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/api-guides/tools/idf-docker-image.rst b/docs/en/api-guides/tools/idf-docker-image.rst index 75c25b16a2..d0ed4997b3 100644 --- a/docs/en/api-guides/tools/idf-docker-image.rst +++ b/docs/en/api-guides/tools/idf-docker-image.rst @@ -106,7 +106,7 @@ On host install and start ``esp_rfc2217_server``: Now the device attached to the host can be flashed from inside a Docker container by using:: - docker run --rm -v :/ -w / espressif/idf idf.py --port rfc2217://host.docker.internal:4000?ign_set_control flash + docker run --rm -v :/ -w / espressif/idf idf.py --port 'rfc2217://host.docker.internal:4000?ign_set_control' flash Please make sure that ```` is properly set to your project path on the host and ```` is set as a working directory inside the container with the ``-w`` option. The ``host.docker.internal`` is a special Docker DNS name to access the host. This can be replaced with host IP if necessary.