From 220d73b262c78a5933866882f22f144c342df649 Mon Sep 17 00:00:00 2001 From: purwo-martono <59758048+purwo-martono@users.noreply.github.com> Date: Sat, 12 Jun 2021 21:08:37 +0700 Subject: chore: Install-with-Docker.md (#469) taken from https://www.azerothcore.org/wiki/Install-with-Docker#how-can-i-run-commands-in-the-worldserver-console after I got error to attach ac-worldserver on docker and then attach with winpty Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> --- docs/install-with-docker.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'docs') diff --git a/docs/install-with-docker.md b/docs/install-with-docker.md index 35bdb0c..96172f0 100644 --- a/docs/install-with-docker.md +++ b/docs/install-with-docker.md @@ -112,6 +112,26 @@ Open a new terminal and run the following command ./acore.sh docker attach ac-worldserver ``` +If you got error message `the input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty'`, you may run the following command + +``` +docker-compose ps +``` + +find the name of worldserver + +``` +azerothcore-wotlk_ac-authserver_1 ./acore.sh run-authserver Up 0.0.0.0:3724->3724/tcp,:::3724->3724/tcp +azerothcore-wotlk_ac-database_1 docker-entrypoint.sh mysqld Up (healthy) 0.0.0.0:3306->3306/tcp,:::3306->3306/tcp, 33060/tcp +azerothcore-wotlk_ac-worldserver_1 ./acore.sh run-worldserver Up 0.0.0.0:7878->7878/tcp,:::7878->7878/tcp, 0.0.0.0:8085->8085/tcp,:::8085->8085/tcp +``` + +and then attach the worldserver name with winpty + +``` +winpty docker attach azerothcore-wotlk_ac-worldserver_1 +``` + This command will automatically attach your terminal to the worldserver console. Now you can run the `account create ` command to [create your first in-game account.](creating-accounts.md) -- cgit