Added docker local USB port mapping (#31)

Added docker local USB device port mapping when using Linux
This commit is contained in:
Jeppe Ladefoged 2018-10-04 17:25:14 +02:00 committed by Otto Winter
parent 065350af33
commit 8bf160aba4

View File

@ -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