SimCity Classic, in a Docker Container
505
SimCity Classic! In a Docker Container!
The game media for this has been sourced from archive.org.
For detailed usage, consult README.md from upstream classiccontainers/dosbox image.
$ docker run \
-e DISPLAY=unix$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
--device /dev/snd \
classiccontainers/simcity_classic
This requires an X11 and Pulse Adudio server; for more information on how to set those up, consult the README.md in the repository for the upstream image.
$ docker run \
-e DISPLAY=host.docker.internal:0 \
-e PULSE_SERVER=host.docker.internal \
classiccontainers/simcity_classic
Per the documentation in the upstream image, the A drive inside the dosbox environment will be mounted to /var/games/dosbox. If you want data to be available after the container terminates, simply mount a local directory to /var/games/dosbox in the container.
$ docker run \
-v /home/user1/savedata:/var/games/dosbox \
classiccontainers/simcity_classic
When the game runs, it will load a (mostly) black-and-white graphics set. In order to get the graphics you're probably familiar with, once you've started a city,
If anyone knows how to make Classic Graphics the default, let me know and I'll add it to the image.
This project is intended for educational purposes only.
Content type
Image
Digest
Size
24.1 MB
Last updated
almost 5 years ago
docker pull classiccontainers/simcity_classic