Coder Social home page Coder Social logo

topjohncian / docker-wine-coolq Goto Github PK

View Code? Open in Web Editor NEW

This project forked from huangtao00/docker-wine-coolq

0.0 1.0 0.0 577 KB

使用 Wine 在 Docker 容器中运行 酷Q Air / Pro

License: GNU General Public License v3.0

Dockerfile 63.09% Shell 36.91%

docker-wine-coolq's Introduction

docker-wine-coolq

docker-wine-coolq 可以使你通过 Wine 在 Docker 容器中运行 酷Q Air 或 酷Q Pro。

即使该 dockerfile 仓库使用 GPL 发布,其中下载的软件仍然遵循其最终用户使用许可协议,请确认同意协议后再进行下载使用。

随着版本更新,wine 的 酷Q 并不保证总是可用。若你遇到不可用问题,在严格按照下述步骤执行后仍可复现,请 提交 issue 或在 社区 反馈。

下载使用

如果你在服务器上使用 docker 或者和 docker 兼容的服务,只需执行:

docker pull coolq/wine-coolq
mkdir coolq && cd coolq
docker run --rm -p 9000:9000 -v `pwd`:/home/user/coolq coolq/wine-coolq

即可运行一个 wine-coolq 实例。运行后,访问 http://你的IP:9000 可以打开一个 VNC 页面,输入 MAX8char 作为密码后即可看到一个 酷Q Air 已经启动。

酷Q 和其数据文件会保存在容器内的 /home/user/coolq 文件夹下,映射到主机上则为上述命令第二步创建的文件夹。调整 -v 的参数可以改变主机映射的路径。

环境变量

在创建 docker 容器时,使用以下环境变量,可以调整容器行为。

  • VNC_PASSWD 设置 VNC 密码。注意该密码不能超过 8 个字符。
  • COOLQ_ACCOUNT 设置要登录 酷Q 的帐号。在第一次手动登录后,你可以勾选“快速登录”功能以启用自动登录,此后, docker 容器启动或 酷Q 异常退出时,便会自动为你登录该帐号。
  • COOLQ_URL 设置下载 酷Q 的地址,默认为 http://dlsec.cqp.me/cqa-tuling,即 酷Q Air 图灵版。请确保下载后的文件能解压出 酷Q Air/CQA.exe酷Q Pro/CQP.exe

docker-wine-coolq's People

Contributors

coxxs avatar oott123 avatar topjohncian avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.