Docker help on Fedora (SELinux issue?)

If SELinux is the issue then it’s likely this change:

One change I made was to move the docker root directory from the default /var/lib/docker to /media/data/docker-data`.

Presumably there are SELinux rules - policies - in the Docker package, and now that the path is not standard, they don’t trigger the right way.

SELinux is preventing bash from read access on the file /usr/lib64/libc-2.28.so.

The alert browser has a way to show suggested fixes, which are custom SELinux rules you could save to a file and activate. These are based on actual blocked system calls, and should account for your custom paths.

2 Likes