summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorpurwo-martono <59758048+purwo-martono@users.noreply.github.com>2021-06-12 21:08:37 +0700
committerGitHub <noreply@github.com>2021-06-12 16:08:37 +0200
commit220d73b262c78a5933866882f22f144c342df649 (patch)
treee0f148b0a9b3eb9b75cab41de7afc61e15de6806 /docs
parent6b9e80f09a9046b35ce4c069c7ce83791a24f87f (diff)
downloadwiki-220d73b262c78a5933866882f22f144c342df649.tar.gz
wiki-220d73b262c78a5933866882f22f144c342df649.tar.bz2
wiki-220d73b262c78a5933866882f22f144c342df649.zip
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>
Diffstat (limited to 'docs')
-rw-r--r--docs/install-with-docker.md20
1 files changed, 20 insertions, 0 deletions
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 <user> <password>` command to [create your first in-game account.](creating-accounts.md)