Could you please add your full error message (stack trace), as I dont understand what you mean by this.
Please also add all commands that you are running, both to start the container and run code in it.
Also note that pyvista
is only present in the dolfinx/lab:stable
images, which you can run with
docker run -ti --rm -v $(pwd):/root/shared --entrypoint="/bin/bash" dolfinx/lab:stable
as shown in