From 8bf160aba4e566bffffb095ca58a4a72e8e6f580 Mon Sep 17 00:00:00 2001 From: Jeppe Ladefoged <26121019+ladefoged81@users.noreply.github.com> Date: Thu, 4 Oct 2018 17:25:14 +0200 Subject: [PATCH] Added docker local USB port mapping (#31) Added docker local USB device port mapping when using Linux --- esphomeyaml/guides/getting_started_command_line.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/esphomeyaml/guides/getting_started_command_line.rst b/esphomeyaml/guides/getting_started_command_line.rst index ed199107d..7c06ac6b9 100644 --- a/esphomeyaml/guides/getting_started_command_line.rst +++ b/esphomeyaml/guides/getting_started_command_line.rst @@ -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