Is it possible with Apptainer/Singularity to restrict which network interfaces can be used from within a container?
In my specific use-case I want to allow access to the internet but block access to some SocketCAN interfaces that are available on the host system. Is this possible?
I saw the --net
/--network
options but the documentation on this option not very detailed so I'm not sure how to use it (or if it can solve my problem at all).