mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-13 20:11:53 +01:00
Added docker local USB port mapping (#31)
Added docker local USB device port mapping when using Linux
This commit is contained in:
parent
065350af33
commit
8bf160aba4
@ -93,7 +93,10 @@ that you can modify afterwards and play around with.
|
||||
On docker, the first upload is a bit more complicated, either you manage
|
||||
to map the serial device into docker with the ``-v`` option, or you just
|
||||
call ``compile`` within the container and let platformio do the
|
||||
uploading on the host system:
|
||||
uploading on the host system.
|
||||
|
||||
If you are running docker on Linux you can add ``--device=/dev/ttyUSB0``
|
||||
to your docker command to map a local USB device.
|
||||
|
||||
.. code:: bash
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user