Need access to /proc/sys/net/core

There are some files I need access to in /proc/sys/net/core but when I run my docker images the files are not there.

This is my run command: docker run -it --privileged --uts=host -v “data:/catkin_ws/data” --device=/dev/bus/usb/002/021 -e “DISPLAY” -e “QT_X11_NO_MITSHM=1” -v “/tmp/.X11-unix:/tmp/.X11-unix:rw” --net=host cam:latest /usr/sbin/init

Any advice here would be greatly appreciated.

You run the containers, but of course, the files are not there for the same reason what I replied to your other question

You have a virtual machine, but in this case, even if you could share the folder with the virtual machine, wouldn’t work, as that folder is not a normal filesystem, but a way to communicate with the kernel. So the solution would be to use Docker CE and not the Docker Desktop with its virtual machine.