Usage of docker containers in Kitware/trame/docker #50
-
Greetings, I'm a new user of Paraview/VTK/trame and I'm trying to run one of the trame docker images published on docker hub. I'm running it on a google cloud compute engine vm with an NVIDIA Tesla T4 gpu. I've configured the machine with the nvidia-container-toolkit. Running the command...
yields... From looking at the github workflow action, I'm guessing I need to use the kitware/trame:glvnd tag per https://github.com/Kitware/trame/blob/master/.github/workflows/docker.yml#L84 When running it I get this error...
I've tried to trace back what is required by reading through the docker scripts directory and see I need to have a server and setup directory in a mounted deploy directory. My questions are:
We would like to eventually deploy an app to our Google Cloud Kuberenetes Engine cluster but want to use the Google Cloud Compute Engine virtual machine as a tool for learning how to use Paraview/VTK/trame. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 21 replies
-
Hi @earlsioson , The base image that you are using is indeed a good one to enable remote rendering with ParaView/EGL. But the "trame" images are generic in the sense they only provide the infrastructure to deploy "trame app(s)" into the cloud (Python3 + web routing). They don't even have trame in them. Basically they rely on a mounted directory (/deploy) to provide the actual "trame app(s)" as a virtual environment. To get started in how to build/deploy a trame app using such image, you will need to create a "trame application" using our cookiecutter. In doing so, you will get a We are definitely lacking doc on that docker topic, but we are also trying to make it straight forward using the cookiecutter. Anyhow, I hope that help you getting started. A side note: |
Beta Was this translation helpful? Give feedback.
Hi @earlsioson ,
The base image that you are using is indeed a good one to enable remote rendering with ParaView/EGL. But the "trame" images are generic in the sense they only provide the infrastructure to deploy "trame app(s)" into the cloud (Python3 + web routing). They don't even have trame in them. Basically they rely on a mounted directory (/deploy) to provide the actual "trame app(s)" as a virtual environment.
To get started in how to build/deploy a trame app using such image, you will need to create a "trame application" using our cookiecutter. In doing so, you will get a
/bundles/docker/*
directory with an example of a./setup/
directory that get used to build the./server -> /deploy