From 61710688cbd086194c412a17a442973920d923ca Mon Sep 17 00:00:00 2001 From: Sascha Bischoff Date: Wed, 14 Mar 2018 10:15:13 +0000 Subject: [PATCH] docker: Add note on how to use TTY If one wishes to use the docker container with a TTY, then one must explicitly mount it into the container when starting it. A note conveying this has been added to the Dockerfile. --- extras/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/extras/Dockerfile b/extras/Dockerfile index 9750ef22..f932b550 100644 --- a/extras/Dockerfile +++ b/extras/Dockerfile @@ -24,6 +24,12 @@ # such as required assets, can be mounted into the container using a # second --volume command. # +# If you require access to a TTY from the Docker container, please +# also mount this into the container in the same style as is used to +# mount USB devices. For example: +# +# docker run -it --privileged -v /dev/ttyUSB0:/dev/ttyUSB0 -v /dev/bus/usb:/dev/bus/usb --volume ${PWD}:/workspace --workdir /workspace wa +# # When you are finished, please run `exit` to leave the container. # # NOTE: Please make sure that the ADB server is NOT running on the