mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'docs/docker_image_flashing_v5.1' into 'release/v5.1'
docs(docker): Update Using Remote Serial Port chapter (backport v5.1) See merge request espressif/esp-idf!25852
This commit is contained in:
commit
bb8f10533f
@ -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 <host_path>:/<container_path> -w /<container_path> espressif/idf idf.py --port rfc2217://host.docker.internal:4000?ign_set_control flash
|
||||
docker run --rm -v <host_path>:/<container_path> -w /<container_path> espressif/idf idf.py --port 'rfc2217://host.docker.internal:4000?ign_set_control' flash
|
||||
|
||||
Please make sure that ``<host_path>`` is properly set to your project path on the host and ``<container_path>`` 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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user