I want to create a web visualization application based on ParaView. I used code from the trame framework. When building the Docker image, I adopted the Linux version downloaded from the official website: ParaView-5.12.0-RC1-osmesa-MPI-Linux-Python3.10-x86_64.
Part of my Dockerfile is as follows:
dockerfileCopy code
FROM python:3.10
## Install ParaView
ARG paraview=ParaView-5.12.0-RC1-osmesa-MPI-Linux-Python3.10-x86_64
COPY ${paraview}.tar.gz /tmp/
RUN tar -xzf /tmp/${paraview}.tar.gz -C /tmp/ && \
mv /tmp/${paraview} /opt/paraview && \
rm -rf /tmp/${paraview}.tar.gz
RUN apt-get update && \
apt-get install -y libgl1-mesa-glx libgl1-mesa-dri
ENV PATH="/opt/paraview/bin:${PATH}"
I was able to launch pvpython on my own computer using docker run -idt MyImage pvpython. However, when I deploy it to the Kubernetes server, it throws an error:
This seems to be a CPU from 2010 or so. I would call it too old for ParaView these days. We definitely have code that wants more advanced vectorization support than can be provided here.