Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Paraview Docker example #396

Merged
merged 1 commit into from
Dec 29, 2023
Merged

Add Paraview Docker example #396

merged 1 commit into from
Dec 29, 2023

Conversation

MntiKor
Copy link
Contributor

@MntiKor MntiKor commented Dec 21, 2023

New example allowing to run 07_paraview/SimpleCone from a headless docker container using X11 virtual frame buffer with Paraview 5.12.0-RC1 and Python 3.10

To run the example:

docker build -t paraview-trame .
docker run -ti -p 1234:8080 paraview-trame

SimpleCone should be accessible at localhost:1234

@MntiKor
Copy link
Contributor Author

MntiKor commented Dec 21, 2023

@luciemac

@luciemac
Copy link
Contributor

@MntiKor , To make it works, I needed to update the Dockerfile:
FROM ubuntu:latest -> FROM --platform=linux/amd64 ubuntu:latest

@jourdain
Copy link
Collaborator

While being a good base, it won't be a recommended path. Instead, you should use the trame base image and rely on osmesa or egl for the rendering rather than X with xfb.

That example won't support multi-user.

A good example would be a mix of what we do here with a standalone setup like here

@MntiKor
Copy link
Contributor Author

MntiKor commented Dec 22, 2023

While being a good base, it won't be a recommended path. Instead, you should use the trame base image and rely on osmesa or egl for the rendering rather than X with xfb.

That example won't support multi-user.

A good example would be a mix of what we do here with a standalone setup like here

I didn't see that Kitware/trame docker images did implement PV_VENV support. I'll take a look at that.

@MntiKor
Copy link
Contributor Author

MntiKor commented Dec 22, 2023

Do you think it's better this way ?

@jourdain
Copy link
Collaborator

Yes much better. Now you just need to fix your commit messages to follow semantic-release

@jourdain jourdain merged commit 32dcdda into Kitware:master Dec 29, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants