So I have a weird issue with a python script I'm trying to run... this works:
docker run -it <my image> /bin/bash
<inside container> xvfb-run python myscript.py <arg>
Everything starts up, firefox launches in headless mode, it's all good.
This doesn't work:
docker run -d <my image> /bin/bash -c "xvfb-run python myscript.py <arg>"
docker top shows that the cmd is running, but nothing else happens.
Why would the behavior be different from when I'm running it the second way?