docker deepin
1.0.0
يعتمد هذا البرنامج النصي على Docker، ويجب تثبيت بيئة Docker مسبقًا. إذا كنت تريد تثبيته، فيرجى تجاهله.
طريقة تثبيت دبيان/أوبونتو:
sudo apt update
sudo apt install docker.io -y
sudo usermod -aG docker $USER
newgrp docker
docker ps -a
# 如果这里执行有问题需要重启
تركيب واستخدام بسيط للغاية:
احرص على عدم التشغيل مع Sudo
> bash -c " $( curl -L https://git.io/JORao ) " @ install deepin.com.qq.office deepin.com.wechat
# 或者
> git clone [email protected]:ygcaicn/docker-deepin.git
> cd docker-deepin/desktop
> ./install.sh install deepin.com.qq.office deepin.com.wechat
> docker-deepin help
Usage: docker-deepin COMMAND
Commands:
--init | init
Init a new container.
--install | install app
Install app to container and create Desktop file.
--run | run app
--remove | remove app
Remove app(Desktop file).
--cleanup | cleanup
Stop and remove current container.
--shell | shell | bash
Enter current container shell.
--logs | logs
Fetch the logs of a container
--reinit | reinit
rebuild container by force.
app list:
deepin.com.thunderspeed deepin.com.taobao.wangwang deepin.com.taobao.aliclient.qianniu
deepin.com.qq.rtx2015 deepin.com.qq.office deepin.com.qq.im.light deepin.com.qq.im
deepin.com.qq.b.eim deepin.com.qq.b.crm deepin.com.gtja.fuyi deepin.com.foxmail
deepin.com.cmbchina deepin.com.baidu.pan deepin.com.aaa-logo deepin.com.95579.cjsc
deepin.cn.com.winrar deepin.cn.360.yasuo deepin.com.wechat deepin.com.weixin.work
deepin.net.263.em deepin.org.7-zip deepin.org.foobar2000 deepin.net.cnki.cajviewer
تحديث البرنامج النصي:
bash -c "$(curl -L https://git.io/JORao)" @ update
الاستخدام الأساسي:
docker-deepin init
docker-deepin install deepin.com.wechat
docker-deepin run deepin.com.wechat
أو انقر فوق الرمز للتشغيل (تم إنشاء الرمز بعد التثبيت) إذا واجهت مشاكل، حاول أولاً: docker-deepin cleanup
ثم re- docker-deepin init
.
docker run -d --name deepin
--device /dev/snd --ipc= " host "
-v $HOME /deepin:/home/deepin
-v /tmp/.X11-unix:/tmp/.X11-unix
-v $HOME : $HOME
-e XMODIFIERS=@im=fcitx
-e QT_IM_MODULE=fcitx
-e GTK_IM_MODULE=fcitx
-e DISPLAY=unix $DISPLAY
-e AUDIO_GID= ` getent group audio | cut -d: -f3 `
-e VIDEO_GID= ` getent group video | cut -d: -f3 `
-e GID= ` id -g `
-e UID= ` id -u `
jachin007/deepin
تأتي الحاوية مع WeChat وTIM.
docker exec -t deepin sh -c " apt update && apt install -y deepin.com.thunderspeed "
deepin.com.thunderspeed
deepin.com.taobao.wangwang
deepin.com.taobao.aliclient.qianniu
deepin.com.qq.rtx2015
deepin.com.qq.office
deepin.com.qq.im.light
deepin.com.qq.im
deepin.com.qq.b.eim
deepin.com.qq.b.crm
deepin.com.gtja.fuyi
deepin.com.foxmail
deepin.com.cmbchina
deepin.com.baidu.pan
deepin.com.aaa-logo
deepin.com.95579.cjsc
deepin.cn.com.winrar
deepin.cn.360.yasuo
deepin.com.wechat
deepin.com.weixin.work
deepin.net.263.em
deepin.org.7-zip
deepin.org.foobar2000
deepin.net.cnki.cajviewer
docker exec -t deepin sh -c " apt update && apt search 'Deepin Wine' "
# docker exec -d deepin tim.sh
docker exec -d -u deepin deepin /opt/deepinwine/apps/Deepin-TIM/run.sh
# docker exec -d deepin wechat.sh
docker exec -d -u deepin deepin /opt/deepinwine/apps/Deepin-WeChat/run.sh
#进入容器
docker exec -it deepin bash
# deepin身份进入
docker exec -it -u deepin deepin bash
#停止/启动容器
docker stop deepin
docker start deepin
#删除容器(出现问题时可以删除重建)
docker rm deepin -f
#查看日志
docker logs -f deepin
https://github.com/bestwu