Streaming GUI Application from a Docker Container

0

We are trying to use ECS and docker to deploy our application that is rendering a window (VTK). The docker container should run on an EC2 instance (with GPU) with a NICE DCV server. What we now need to do is stream the application inside the docker container to the DCV client.

My Question now is: Can this be done?

The setup is as follows:

EC2 Instance with GPU:

  • DCV Server
  • X Server
  • Docker with Docker-Container that contains the Rendering Application

Our application renders its content on the display of the XServer. The display is forwarded from the host (https://gursimarsm.medium.com/run-gui-applications-in-a-docker-container-ca625bad4638). The DCV server now should somehow be able to see the rendered content and stream it to the client. How do we configure docker/DCV/XServer to achieve the desired result? Is this even possible?

We could deploy our application directly on the EC2 instance, but due to our predefined release pipeline this undesirable.

Thanks, Julian

질문됨 일 년 전671회 조회
2개 답변
1
수락된 답변

Hi Julian,

we have developed a fully automatic script deploying DCV into a container with and without GPU on the docker host: https://www.ni-sp.com/nice-dcv-in-containers/.

Maybe it can give you some ideas how to realize your goal.

Best regards, Karsten @ NI SP

답변함 일 년 전
1

Awesome, thank you so much, that's exactly what we needed. I set it up on an Amazon Linux 2 g4dn.xlarge instance and seems to work fine. We'll have to heavily customize the startup script but that's a great starting point!

답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠