{"id":23557524,"url":"https://github.com/northsea4/mdcx-docker","last_synced_at":"2025-05-15T09:07:57.879Z","repository":{"id":65578178,"uuid":"594654996","full_name":"northsea4/mdcx-docker","owner":"northsea4","description":" 在Docker容器中运行 MDCX，并通过Web界面或远程桌面进行控制。Run MDCX in a Docker container, accessible and controllable via a web interface or remote desktop.","archived":false,"fork":false,"pushed_at":"2025-03-15T08:46:32.000Z","size":412,"stargazers_count":720,"open_issues_count":2,"forks_count":86,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-14T15:56:54.983Z","etag":null,"topics":["docker","mdcx","rdp","webtop"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/northsea4.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-29T08:09:17.000Z","updated_at":"2025-04-11T13:46:33.000Z","dependencies_parsed_at":"2025-03-17T05:13:03.925Z","dependency_job_id":null,"html_url":"https://github.com/northsea4/mdcx-docker","commit_stats":{"total_commits":162,"total_committers":3,"mean_commits":54.0,"dds":0.05555555555555558,"last_synced_commit":"6482476b29694ee57e3a64303fc73ee69a0088d7"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/northsea4%2Fmdcx-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/northsea4%2Fmdcx-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/northsea4%2Fmdcx-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/northsea4%2Fmdcx-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/northsea4","download_url":"https://codeload.github.com/northsea4/mdcx-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254310520,"owners_count":22049470,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","mdcx","rdp","webtop"],"created_at":"2024-12-26T14:32:16.838Z","updated_at":"2025-05-15T09:07:52.870Z","avatar_url":"https://github.com/northsea4.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub stars](https://img.shields.io/github/stars/northsea4/mdcx-docker.svg?style=flat\u0026label=Stars\u0026maxAge=3600)](https://GitHub.com/northsea4/mdcx-docker) [![GitHub release](https://img.shields.io/github/release/northsea4/mdcx-docker.svg?style=flat\u0026label=Release)](https://github.com/northsea4/mdcx-docker/releases/tag/latest)\n\n# MDCx Docker\n\n\n📢 上游源码项目已更改为 [sqzw-x/mdcx](https://github.com/sqzw-x/mdcx)。\n\n👉🏻 如果您当前使用的是`20231014`或之前的版本，请阅读 [更改新源码后的更新说明](https://github.com/northsea4/mdcx-docker/blob/dev/docs/about-new-src.md)。\n\n\n---\n\n\n## 镜像\n\u003e 「builtin」表示内置已编译的应用，不需要额外下载安装包。\n\u003e 「src」表示使用应用的python源码运行，需要额外下载源码。\n\n\u003e 「gui」是最简单的版本，通过Web访问，且只能看到应用窗口。\n\u003e 「webtop」有比较完整的桌面环境，可以通过Web访问或RDP访问。\n\n| 镜像 | 部署说明 | 网页查看 | 远程桌面 | 文件管理 | 浏览器 |\n| --- | --- | --- | --- | --- | --- |\n| [mdcx-builtin-gui-base](https://hub.docker.com/r/stainless403/mdcx-builtin-gui-base/tags) | [查看](https://github.com/northsea4/mdcx-docker/blob/main/gui-base/mdcx-builtin.md) | ✅ |  |  |  |\n| [mdcx-builtin-webtop-base](https://hub.docker.com/r/stainless403/mdcx-builtin-webtop-base/tags) | [查看](https://github.com/northsea4/mdcx-docker/blob/main/webtop-base/mdcx-builtin.md) | ✅ | ✅ | ✅ | ✅ |\n| [mdcx-src-gui-base](https://hub.docker.com/r/stainless403/mdcx-src-gui-base/tags) | [查看](https://github.com/northsea4/mdcx-docker/blob/main/gui-base/mdcx-src.md) | ✅ |  |  |  |\n| [mdcx-src-webtop-base](https://hub.docker.com/r/stainless403/mdcx-src-webtop-base/tags) | [查看](https://github.com/northsea4/mdcx-docker/blob/main/webtop-base/mdcx-src.md) | ✅ | ✅ | ✅ | ✅ |\n\n\n## 使用脚本部署\n复制以下命令到终端运行，根据提示输入几个参数即可完成部署。\n\n使用curl:\n```bash\nbash -c \"$(curl -fsSL https://raw.githubusercontent.com/northsea4/mdcx-docker/main/install.sh)\"\n```\n使用wget:\n```bash\nbash -c \"$(wget https://raw.githubusercontent.com/northsea4/mdcx-docker/main/install.sh -O -)\"\n```\n\n## 手动部署\n\n### mdcx-builtin-gui-base示例\n⚠️ 这里只给出一个简单的运行示例，建议查看 [部署说明](https://github.com/northsea4/mdcx-docker/blob/main/gui-base/mdcx-builtin.md) 了解更多细节。\n\n```bash\n# 选一个合适的目录\nMDCX_DOCKER_DIR=/path/to/mdcx-docker\nmkdir -p $MDCX_DOCKER_DIR \u0026\u0026 cd $MDCX_DOCKER_DIR\n# 必须：相关数据或日志目录\nmkdir -p mdcx-config logs data\n# 必须：配置文件目录标记文件\necho \"/mdcx-config/config.ini\" \u003e mdcx-config/MDCx.config\n# 确保有config.ini文件\ntouch mdcx-config/config.ini\n\ndocker run -d --name mdcx \\\n  -p 5800:5800 `#Web访问端口` \\\n  -p 5900:5900 \\\n  -v $(pwd)/data:/config `#容器系统数据` \\\n  -v $(pwd)/mdcx-config:/mdcx-config `#配置文件目录` \\\n  -v $(pwd)/mdcx-config/MDCx.config:/app/MDCx.config `#配置文件目录标记文件` \\\n  -v $(pwd)/logs:/app/Log `#日志目录` \\\n  -v /volume2:/volume2 `#影片目录` \\\n  -e TZ=Asia/Shanghai \\\n  -e DISPLAY_WIDTH=1200 \\\n  -e DISPLAY_HEIGHT=750 \\\n  -e VNC_PASSWORD=  `#查看密码` \\\n  -e USER_ID=$(id -u) `#运行应用的用户ID` \\\n  -e GROUP_ID=$(id -g) `#运行应用的用户组ID` \\\n  --restart unless-stopped \\\n  stainless403/mdcx-builtin-gui-base:latest\n```\n\n浏览器访问 http://192.168.1.100:5800 使用。\n\n### mdcx-builtin-webtop-base示例\n⚠️ 这里只给出一个简单的运行示例，建议查看 [部署说明](https://github.com/northsea4/mdcx-docker/blob/main/webtop-base/mdcx-builtin.md) 了解更多细节。\n\n```bash\nMDCX_DOCKER_DIR=/path/to/mdcx-docker\nmkdir -p $MDCX_DOCKER_DIR \u0026\u0026 cd $MDCX_DOCKER_DIR\n# 必须：相关数据或日志目录\nmkdir -p mdcx-config logs data\n# 必须：配置文件目录标记文件\necho \"/mdcx-config/config.ini\" \u003e mdcx-config/MDCx.config\n# 确保有config.ini文件\ntouch mdcx-config/config.ini\n\ndocker run -d --name mdcx \\\n  -p 3000:3000 `#Web访问端口` \\\n  -p 3389:3389 `#RDP访问端口` \\\n  -v $(pwd)/data:/config `#容器系统数据` \\\n  -v $(pwd)/mdcx-config:/mdcx-config `#配置文件目录` \\\n  -v $(pwd)/mdcx-config/MDCx.config:/app/MDCx.config `#配置文件目录标记文件` \\\n  -v $(pwd)/logs:/app/Log `#日志目录` \\\n  -v /volume2:/volume2 `#影片目录` \\\n  -e TZ=Asia/Shanghai \\\n  -e AUTO_LOGIN=false `#使用默认密码(abc)，且通过网页访问时，是否自动登录` \\\n  -e PUID=$(id -u) `#运行应用的用户ID` \\\n  -e PGID=$(id -g) `#运行应用的用户组ID` \\\n  --restart unless-stopped \\\n  stainless403/mdcx-builtin-webtop-base:latest\n```\n\n- 使用`Windows远程桌面`或`Microsoft Remote Desktop`连接 `192.168.1.100:3389` 使用，账号密码`abc/abc`。\n- 浏览器访问 http://192.168.1.100:3000 使用。\n\n\n## 公网访问\n如果有公网访问的需求，请自行设置好访问密码（\u003cb\u003e不要使用默认密码\u003c/b\u003e）。\n\n| 镜像 | 默认 | 方式1 |\n| --- | --- | --- |\n| [mdcx-builtin-gui-base](https://hub.docker.com/r/stainless403/mdcx-builtin-gui-base/tags)\u003cbr\u003e[mdcx-src-gui-base](https://hub.docker.com/r/stainless403/mdcx-src-gui-base/tags) | 空 | 设置环境变量`VNC_PASSWORD` |\n| [mdcx-builtin-webtop-base](https://hub.docker.com/r/stainless403/mdcx-builtin-webtop-base/tags)\u003cbr\u003e[mdcx-src-webtop-base](https://hub.docker.com/r/stainless403/mdcx-src-webtop-base/tags) | abc/abc | `docker exec -it 容器名称 passwd abc`\u003cbr\u003e或进入桌面使用命令行工具执行`passwd abc` |\n\n\n## 申明\n当你查阅、下载了本项目源代码或二进制程序，即代表你接受了以下条款：\n\n- 本项目和项目成果仅供技术，学术交流和docker测试使用\n- 本项目贡献者编写该项目旨在学习docker和python应用在linux平台上的打包处理\n- 用户在使用本项目和项目成果前，请用户了解并遵守当地法律法规，如果本项目及项目成果使用过程中存在违反当地法律法规的行为，请勿使用该项目及项目成果\n- 法律后果及使用后果由使用者承担\n- [GPL LICENSE](https://github.com/northsea4/mdcx-docker/blob/main/LICENSE.md)\n- 若用户不同意上述条款任意一条，请勿使用本项目和项目成果\n\n\n## 更新日志\n请查看 [更新日志](https://github.com/northsea4/mdcx-docker/blob/main/CHANGELOG.md)\n\n\n## FAQ\n请查看 [FAQ](https://github.com/northsea4/mdcx-docker/blob/main/FAQ.md)\n\n\n## 授权许可\n本插件项目在 GPLv3 许可授权下发行。此外，如果使用本项目表明还额外接受以下条款：\n\n- 本项目仅供学习以及技术交流使用\n- 请勿在公共社交平台上宣传此项目\n- 使用本软件时请遵守当地法律法规\n- 法律及使用后果由使用者自己承担\n- 禁止将本软件用于任何的商业用途","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorthsea4%2Fmdcx-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnorthsea4%2Fmdcx-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorthsea4%2Fmdcx-docker/lists"}