介绍基于 Docker 的经典中文 DOS 游戏合集,提供开箱即用的 Web 化游戏体验;该项目整合了《仙剑奇侠传》《大富翁》《金庸群侠传》等经典作品,采用 JavaScript DOS 模拟器实现浏览器直接运行。
截图
在线体验网址: https://dos.lol
Docker Rundocker run -d --name dosgame \
-p 262:262 \
--restart unless-stopped \
oldiy/dosgame-web-docker:latestDocker Composeversion: "3.8"
services:
dosgame:
image: oldiy/dosgame-web-docker:latest
container_name: dosgame
ports:
- "262:262"
restart: unless-stopped按需修改本地端口
启动部署完成后访问:http://<服务器IP>:262
注意事项默认端口 262 对应容器内 262 端口,可按需修改宿主机端口
无需持久化存储配置,重启容器后游戏进度会重置
建议使用 Chrome/Firefox 等现代浏览器访问
项目地址GitHub 源码仓库:https://github.com/rwv/chinese-dos-games
Docker Hub 镜像:https://hub.docker.com/r/oldiy/dosgame-web-docker