Epitech / coding-style-checker

25 stars 43 forks source link

fix: allow docker volumes with selinux enabled #2

Closed kevin-cazal closed 2 years ago

kevin-cazal commented 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.

https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label

Sadikum commented 2 years ago

Seems dangerous, especially for 1st year student (since they can easily choose /home or any such directory).