Fedora version: 6.8.7-200.fc39.x86_64
Installed docker version (which seems to be the latest in the repo): 24.0.5, build %{shortcommit_cli}
-
I’m unable to set the right access permissions for docker. I’ve followed this to set the permissions:
$ sudo groupadd docker && sudo gpasswd -a ${USER} docker && sudo systemctl restart docker
$ newgrp docker
And restarted the docker daemon.
But still, if I do
$ systemctl restart docker
I get
Failed to restart docker.service: Access denied
See system logs and 'systemctl status docker.service' for details.
systemctl status docker.service shows
docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
/etc/systemd/system/docker.service.d
└─service-overrides.conf
Active: active (running) since Wed 2024-04-24 15:39:43 CEST; 1min 22s ago
TriggeredBy: ● docker.socket
Docs: https://docs.docker.com
Main PID: 17199 (dockerd)
Tasks: 26 (limit: 38026)
Memory: 31.2M
CPU: 314ms
CGroup: /system.slice/docker.service
-
If I do try running docker-compose I get
[17453] Error loading Python lib ‘/tmp/_MEIutP0p9/libpython3.7m.so.1.0’: dlopen: libcrypt.so.1: cannot open shared object file: No such file or directory
Any ideas? I’ve seen some suggestions including downloading and compiling newer versions, but I’m not doing that. I prefer not causing trouble with the package manager.