StarCraft Broodwar in a Docker-Container!
lionax/docker-starcraft is a docker image aimed for the execution of BWAPI bots on any operating system that supports docker.
I created the image for two purposes:
- to be able to run StarCraft and BWAPI bots on Linux
- to apply Machine Learning to BWAPI bots in a Linux environment with Python and TensorFlow
Currently I’m working on an integration of Machine Learning techniques for Strategy Generation into StarCraft Broodwar API bots. For this purpose I asked myself if it was possible to run StarCraft and the API in a docker container on linux making the environment portable.
Several problems to solve
As for the more interesting problems to tackle I had to start an x-session within one of the image layers in order to properly initialize the wine prefix.
Side-note: because of the size of the image and the fact that I used aufs as docker storage driver my disk-space ran out of space (0 bytes left) and some of my data was destroyed (see this stackexchange). I removed docker completely and switched to overlay2, hoping that the problem will be solved.
Part of a bigger picture
This project is part of my whole bachelor thesis and bot-development project called ‘Odysseus’, which at the moment is not open to the public though.
Related to this project and my bachelor thesis in general: