Docker app: allow usage of the docker group

Got a feature request? Great! Post your ideas here!
ndl101
Posts: 69
youtube meble na wymiar Warszawa
Joined: Sun Jul 11, 2021 4:32 pm

Docker app: allow usage of the docker group

Post by ndl101 »

Hi.

Currently the official Docker app does not allow users and/or applications to interact with docker without escalating to root privileges and needless to say (but I will anyway) escalating to root privileges is a security concern, especially for long running applications. Normally, a docker group is added to the system (pretty much all Linux based distros does this) to which users and/or applications are added (see the official documentation) and for Ubuntu at least the ownership of the docker socket is set to root:docker and permissions to 660 as below.

Code: Select all

# From my Ubuntu 20.04 system
$ stat -c '%A %a %U:%G %n' /var/run/docker.sock 
srw-rw---- 660 root:docker /var/run/docker.sock

Code: Select all

# From my AS6604T running ADM 4.3.0.RSB1
# stat -c '%A %a %U:%G %n' /var/run/docker.sock 
srw-rw---- 660 root:root /var/run/docker.sock
While this is still the case, we are forced to run applications such as minikube as root which as already stated is not desirable. I am aware that I can easily fix this using using a shell script and cron but it would be super great if this was addressed in the official docker app.

Regards

I made it long as I lacked the time to make it short.

---
Help to self-help:
How to ask (good) questions in a forum
---
General information
Location: Denmark
OS: Ubuntu 20.04
NAS: Lockerstor 4 (AS6604T)
ilike2burnthing
Posts: 449
Joined: Thu Apr 09, 2020 8:01 pm

Re: Docker app: allow usage of the docker group

Post by ilike2burnthing »

ndl101
Posts: 69
Joined: Sun Jul 11, 2021 4:32 pm

Re: Docker app: allow usage of the docker group

Post by ndl101 »

Already submitted a feature request. Posted here for transparency.

I made it long as I lacked the time to make it short.

---
Help to self-help:
How to ask (good) questions in a forum
---
General information
Location: Denmark
OS: Ubuntu 20.04
NAS: Lockerstor 4 (AS6604T)