I use LXC mainly in my current setup to allow distribution of a GPU. This is the only snag I have hit that I cannot figure out by doing my own research. Unpriv LXC Ubuntu 20.04 with 'Nesting' and 'keyctl' options enabled. I have deployed a docker image that utilizes the passed through GPU and that all works but I cannot use a docker image that runs a web service inside of it. When I use the docker image on a bare metal host, it works as expected, so I know the image is fine and it is just some setting in the unpriv LXC.
The LXC is using Nginx to communicate with php7.4 by using a UNIX socket. I can't get any good info via the docker logs, all it says is that Nginx is trying to talk to PHP via a UNIX socket and times out. Is there something else I should be enabling? I see FUSE and Device creation but I don't think those apply to the situation?
Has anyone else come across this or is there a configuration I am missing? Sorry if this is vague it is hard to articulate the problem.
The LXC is using Nginx to communicate with php7.4 by using a UNIX socket. I can't get any good info via the docker logs, all it says is that Nginx is trying to talk to PHP via a UNIX socket and times out. Is there something else I should be enabling? I see FUSE and Device creation but I don't think those apply to the situation?
Has anyone else come across this or is there a configuration I am missing? Sorry if this is vague it is hard to articulate the problem.