Runnin Deepstream on conainer fails to show output on screen and fails pipeline

I am following this blog Deploying Models from TensorFlow Model Zoo Using NVIDIA DeepStream and NVIDIA Triton Inference Server | NVIDIA Technical Blog
I pulled the container and when I run the Deepstream pipeline it fails.
No protocol specified
** ERROR: main:655: Failed to set pipeline to PAUSED
Quitting
App run failed

DISPLAY=:51.0

** ERROR: main:583: Could not open X Display
Quitting

The only way to run it is to write the output to file
Thanks