Add docker attach (#137)

* Add docker attach
Fix #133

Signed-off-by: Christian Häussler <c-n-i@web.de>
pull/141/head
Christian Häussler 2017-12-20 23:12:24 +01:00 committed by GitHub
parent cd2daf29a0
commit be3e88cfaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -171,6 +171,7 @@ You can connect to a console of an already running openHAB container with follow
* ``docker ps`` - lists all your currently running container
* ``docker exec -it openhab /openhab/runtime/bin/client`` - connect to openHAB container by name
* ``docker exec -it c4ad98f24423 /openhab/runtime/bin/client`` - connect to openHAB container by id
* ``docker attach openhab`` - attach to openHAB container by name, input only works when starting the container with `-i` (or `stdin_open: true` with docker compose)
The default password for the login is ``habopen``.