From d2b10cb10556fa6063d0b1fa8150ebd06dd31cac Mon Sep 17 00:00:00 2001 From: thehuntedpie Date: Tue, 25 Sep 2018 13:48:20 +0300 Subject: [PATCH] document how to attach with fixed container name and how to detach --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1960ab9..68a75a7 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,14 @@ Just download docker-compose.yml Host Server : `docker-compose up -d` -Attach terminal `docker attach ${CONTAINER_NAME}` - ## Docker Commands Host Server : `docker run --name mindustry -ti -p 6567:6567/tcp -p 6567:6567/udp viviv/mindustry` +# Manage Mindustry console +Attach terminal `docker attach mindustry_server` + +To detach the tty without shuttding down the server, +use the escape sequence Ctrl-p + Ctrl-q ### Enjoy !!