Limited installation of AzerothCore with Docker

You don’t like repacks? We do not either!

Pre-Compiled setup of AzerothCore using docker

Please note that there is limited support for this way of using AC and you’re more likely to receive support on our discord when following non-docker install.

Requirement: Docker

First of all, you need to download and install Docker:

https://www.docker.com/products/docker-desktop

This is the only requirement for this tutorial, you don’t need anything else apart from Docker and a clean 3.3.5a client available in your system. Docker Desktop works on recent versions of macOS and Windows. Docker can also be installed on Linux.

ChromieCraft Docker Desktop on Windows 11
Docker Desktop on Windows 11
ChromieCraft Docker Desktop on macOS
Docker Desktop on macOS

Installing the AzerothCore WoW server

1) Download, extract, open terminal

Download the acore-docker-master archive and extract the acore-docker-master folder from it.

Now open a terminal inside the extracted acore-docker-master folder. If you do not know how to open a terminal inside a folder, just read this.

ChromieCraft open terminal at folder on Windows 11

ChromieCraft open terminal at folder on macOS

2) Docker pull, database setup

From the terminal you have just opened inside the acore-docker-master folder, run the following commands:

  • docker-compose pull

ChromieCraft AzerothCore docker pull on macOS

ChromieCraft docker-compose pull on Windows

The download can take some time (depending on your internet connection). When it completes, run:

  • docker-compose up ac-db-import

Once it’s done, you should see something like this:

ChromieCraft AzerothCore Docker DB setup on Windows

ChromieCraft AzerothCore Docker DB setup on macOS

3) Run the WoW server

To start the WoW server you just need to run the following command:

  • docker-compose up -d

ChromieCraft AzerothCore docker-compose up on Windows

ChromieCraft AzerothCore docker-compose up on macOS

Congratulations! Your WoW server is running on your PC. You just don’t see it… yet 😉

To check that everything is working correctly, you can open the Docker Dashboard which will give you more details about the running containers and their exposed ports (if words like containers and ports don’t make much sense to you, don’t worry):

ChromieCraft AzerothCore Docker Desktop Dashboard on Windows

ChromieCraft AzerothCore Docker Desktop Dashboard on macOS

Accessing the worldserver console and create a game account

Your server is up and running but you cannot do much without creating a game account. To do that, we first need to find the name of your worldserver container.

Sounds complicated? Not at all, run the following command in a terminal (make sure the terminal window is big enough):

  • docker-compose ps

You’ll see something like the following:

ChromieCraft AzerothCore docker ps on Windows

ChromieCraft AzerothCore docker ps on macOS

Your worldserver container name will be something like “acore-docker-master_ac-worldserver_1″, you’ll need it for the following command:

  • docker attach acore-docker-master_ac-worldserver_1

This will attach your terminal session to the AC worldserver process, which is a console starting with AC>.  From there, you can run commands such as server info to verify the status of your WoW server.

In order to create an account, run the following command:

  • account create USERNAME PASSWORD

Then, in order to make it GM level 3, run the following:

  • account set gmlevel USERNAME 3 -1

for example, this is how I attach to my worldserver console and create a GM account with the name “shin” and the password “chromiecraft“:

ChromieCraft AzerothCore worldserver

 

If you’re wondering how to exit the AC console, keep the CTRL key pressed while pressing the P and Q keys (CTRL+P & CTRL+Q escape sequence).

Change the realmlist and enjoy!

Open your realmlist.wtf  and set its contents to:

  • set realmlist localhost

If you don’t want to completely remove your old realmlist, you can just comment it out.

For example, the following is how I keep my realmlist when I need to access my local WoW server. When I want to log back to ChromieCraft, I just comment the local realmlist using a # and un-comment the one from ChromieCraft (by removing the #):

ChromieCraft AzerothCore localhost realmlist

Now you can just open WoW and access the game!

Good to know…

GM Commands

You can find the full list of GM commands at this URL:

https://www.azerothcore.org/wiki/GM-Commands

Stopping and restarting the server

To stop your server, you can run “docker-compose stop” and then “docker-compose restart” to start it again.

Updating your server

Keeping your server up to date with the latest AzerothCore version is considered a good practice and will make your server automatically get all the fixes we will be releasing.

To update the server you need to stop your server, run the following 2 commands, and then start it again:

  • docker-compose pull
  • docker-compose up ac-db-import

You can check your server version by using the GM command .server info

More information

This article has been extracted from this page, where you can find more technical details.


Discover more from ChromieCraft

Subscribe to get the latest posts sent to your email.

No products in the cart.

Discover more from ChromieCraft

Subscribe now to keep reading and get access to the full archive.

Continue reading