# Clone this repository
git clone https://github.com/RokasUrbelis/docker-wine-linux.git
# Go into the repository
cd docker-wine-linux
# Build docker image and run docker container for first time
bash run.sh
因为需要构建docker镜像和克隆deepin-wine-ubuntu,第一次执行run.sh的时间较长,此时你去外面遛弯都是没问题的
如果你的系统未安装docker,请先执行以下命令安装docker:
curl -fsSL https://get.docker.com|bash
### 如果你的系统使用此命令依旧安装不了,请移步至docker官网查看安装文档。
由于docker需要系统要求内核版本至少高于2.6.32
上,如果内核未达标,请自行编译内核,可参考此链接
# Create docker container
bash run.sh
# Run application
source start.sh -i 容器id 应用名
##执行完此命令可能需要等待5-15秒钟,取决于系统响应速度
因为wine有时候不稳定,运行完应用后发现登录上去看不到页面或者鼠标无法点击或者出现崩溃的情况都是正常的,因为第一次见到主人,wine很害羞(多运行一两次就正常了),此时你需要kill掉后台pid或者删除容器,推荐每个wine应用使用单独容器运行(即每次运行应用前先运行run.sh),而不是集中在一个容器上,这样方便管理并且降低崩溃概率。
- TIM
- 百度网盘
- 迅雷急速版