docker build -t pyflex .
Do this before the first run.
sudo xhost +
Run the container.
docker run --runtime=nvidia -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -ti pyflex bash
docker build -t pyflex .
Do this before the first run.
sudo xhost +
Run the container.
docker run --runtime=nvidia -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -ti pyflex bash