Problem about Super User Permission.
aimof opened this issue · 0 comments
aimof commented
Hi :)
When I install docui and try to run, docui panics because of "Permission denied" from docker daemon.
So, I try sudo docui
then docui not found.
env
Distro: Ubuntu18.04
docker: 18.09.5
The problem is permission.
- In Ubuntu(maybe all linux distro), as a default, root permission or belonging docker group are needed when accessing docker daemon.
- However, $GOPATH is local variable of login user, not root.
There are some solutions but which should we recommend?
- Install docui locally and set env_keep PATH and run docui as root.
- add login user docker group. (It may not be recommended)
- install docui as root.
- others
Thanks.