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

demandé il y a un an671 vues
2 réponses
1
Réponse acceptée

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

répondu il y a un an
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!

répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions