Dwarf Fortress + DFHack in a container
Allows you to play Dwarf Fortress with DFHack without fighting local installs.
Exposes the data and hack/script folder into ~/.dwarf-fortress for you, so you can easily access your game files.
mkdir -p "$HOME/.dwarf-fortress" docker run --rm -it \ -e UID=`id -u` -e GID=`id -g` \ -e DISPLAY \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -v /dev/snd:/dev/snd \ -v "$HOME/.dwarf-fortress/data:/df_linux/data" \ -v "$HOME/.dwarf-fortress/scripts:/df_linux/hack/scripts" \ ananace/dwarf-fortress:latest # ananace/dwarf-fortress:43_03
Docker Pull Command