Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

卡在Starting DoWork,没有显示出UI #4

Open
BigGunLive opened this issue May 25, 2020 · 3 comments
Open

卡在Starting DoWork,没有显示出UI #4

BigGunLive opened this issue May 25, 2020 · 3 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@BigGunLive
Copy link

   ____     __        __         _
  |  _ \  __\ \      / /__  _ __| | __
  | | | |/ _ \ \ /\ / / _ \| '__| |/ /
  | |_| | (_) \ V  V / (_) | |  |   <
  |____/ \___/ \_/\_/ \___/|_|  |_|\_\

  https://github.com/huan/docker-wxwork

            +--------------+
           /|             /|
          / |            / |
         *--+-----------*  |
         |  |           |  |
         |  |   盒装    |  |
         |  |   企业    |  |
         |  +-- 微信 ---+--+
         | /            | /
         |/             |/
         *--------------*

  DoWork /dɑɑˈwɜːk/ (Docker-wxWork) is:

  📦 a Docker image
  🤐 for running PC Windows WeChat Work
  💻 on your Linux desktop
  💖 by one-line of command

🚀 Pulling the latest docker image...

Using default tag: latest
latest: Pulling from zixia/wxwork
Digest: sha256:4a76020fd8af4c86a897fa076926978dc3f9b36304d54e7ae141b18d0aec9521
Status: Image is up to date for zixia/wxwork:latest
docker.io/zixia/wxwork:latest

🚀 Pulling the latest docker image done.
🚀 Starting DoWork /dɑɑˈwɜːk/ ...

@huan huan added the question Further information is requested label May 25, 2020
@orangeshinee
Copy link

同。
OS: Manjaro 20.1 Mikah

@huan huan added the help wanted Extra attention is needed label Aug 19, 2020
@kklots
Copy link

kklots commented Nov 18, 2020

same problem.

ubuntu18.04

@DavieHR
Copy link

DavieHR commented Apr 8, 2021

hi everyone.

Maybe I found the reason why it will cause this issue.

When i turned on the debug macro, i found the program fall into endless-loop.
In the entrypoint.sh file the line 138, you will find that the script checks the user-group id.

if [ "$(id -u)" -ne '0' ]; then

i don't know the phenomenon in ubuntu 19, but, in ubuntu 18.04, when you run the bash script in root.
id -u will return 0, and set the global env is also invalid. so the function "setupUserGroup" in line 122 also will be invalid.

All in all, if you want to use wx-work in ubuntu 18.04, you must use your docker in user env.

How to set docker in non-root.
please follow these instructions below. (you can also find these codes in site https://docs.docker.com/engine/install/linux-postinstall/)

sudo groupadd docker

sudo usermod -aG docker $USER

newgrp docker 

THX. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants