Closed kevin-cazal closed 2 years ago
Under Fedora 36 SELinux is enabled by default. SELinux policies can prevent usage of docker volumes if the z option is not present in the --volume | -v argument.
z
--volume | -v
https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label
Seems dangerous, especially for 1st year student (since they can easily choose /home or any such directory).
Under Fedora 36 SELinux is enabled by default. SELinux policies can prevent usage of docker volumes if the
z
option is not present in the--volume | -v
argument.https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label