Open BigGunLive opened 4 years ago
同。 OS: Manjaro 20.1 Mikah
same problem.
ubuntu18.04
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. :)
🚀 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/ ...