Is it possible to use LXD to setup a container with a display output via Thunderbolt?

I have a 2013 Mac Pro with 2 FirePro D300. Is it possible to setup a container to output to a monitor via Thunderbolt 2 dock?

Could you please explain which output from the container you are referring to?

Sorta like a VM with GPU passthrough. I’ve been trying to get it working with a VM, but I’m unable to for some reason (probably something I overlooked).

I’ve rarely used docks but IIRC, when plugging them, additional devices show up so maybe you get an additional GPU upon connecting to the dock?

If that’s the case, you can probably pass that new physical GPU to the container as explained here

If you don’t get an additional GPU then you’ll need a different type of GPU device to pass through.