kfocus / kfocus-source

Kubuntu Focus Source Packages
https://kfocus.org
GNU General Public License v2.0
12 stars 1 forks source link

Currated App: Docker - does not set user on group #20

Closed ricktimmis closed 4 months ago

ricktimmis commented 6 months ago

Describe the bug With Docker installed via the Currated Apps page, on KFocus M2 Gen the installing user is not added to the docker group. Leading to errors like:

Building the docker image... ERROR: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Head "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Kicker > Kubuntu Focus Tools > Currated Apps '
  2. Opens in browser
  3. Scroll down to 'Docker'
  4. Konsole opens and installs docker
  5. Logout / Reboot
  6. Try to use Docker, get error

Expected behavior Once installed by the user, then post logout/reboot the users should have permission to use Docker. Likely that usermod -aG $USER Docker needs to be run

Screenshots

Desktop (please complete the following information):

Additional context Hope this is a useful report

mmikowski commented 5 months ago

Hi Rick:

Thank you for this report. Yes, it is useful. We have an internal tracking ticket for the same issue. The default install currently is root only and does not take the extra steps to make it "user runnable". That requires a special wrapper which has not yet been written for docker-ce, although it is covered in the docs found in the curated apps page.

Internal ticket #2068.

Cheers, Mike

ArrayBolt3 commented 5 months ago

A fix for this issue has been uploaded to the package-testing repository for both Jammy and Noble. Assuming all tests pass, it should be generally available in the release repository in the coming days.

mmikowski commented 4 months ago

This enhancement was released for 22.04 and 24.04 around 21 June 2024.