Fail to display output from Inside docker

**• Hardware Platform (Jetson / GPU) 2080Ti
**• DeepStream Version 4.0 (docker)

I installed deepstream 4.0 docker. I was trying to run sample deepstream-test1-app. It shows it is running but it cannot show any display. I used sample_1080p_h264.mp4 as input.
Is there any way to display the output or save the output in a directory running deepstream-test1-app from inside docker.

please run xhost + before you run docker, and regarding to save to file, you can use deepstream-app which have config group sink, there you can choose type File.