I am having trouble with sharing the /var/run directory. Some of the content is being shared but not all of it and specifically not the folder I need. Any advice here?
If you really use Docker Desktop, that means you can’t share that folder by default, so what you saw shared, that was the
/var/run in the virtual machine of Docker Desktop. This is when everyone says “I don’t have a virtual machine, I’m using Linux”, but it doesn’t matter. Docker Desktop runs a VM. I don’t have the Desktop on Linux, but there should be a “Resources » Filesystem” option in Settings.
Note that if you want to mount a unix socket, you can’t mount unix sockets into virtual machines.