I am making an app that uses Tensorflow and OpenCV on Windows. Because of tensorflow, I am using Docker. I initially ran my docker container with the command
docker run -it -v $HOME/Documents/tensorflowSource:/tensorflowSource -v /tmp/.X11-unix:/temp.X11-unix -e DISPLAY=unix$DISPLAY gcr.io/tensorflow/tensorflow:latest-devel
following the answer to a similar question here: Docker for GUI-based environments?
On running my program (which should open a window and effectively streams a video), I am given the following error
Gtk-WARNING **: cannot open display: unixneeds-to-be-defined
I am sort of lost at this point, what can I do to display the Gtk window my program wants to display? Any solution would be nice, even if it doesn't involve showing the window from the docker container