Pyvista not available with docker due to lack of vtk

dolfinx/dolfinx does not come with pyvista. It is only added in the dolfinx/lab environment.
You can run the dolfinx/lab image as a normal image by overriding the entrypoint:

ocker run -ti --rm -v $(pwd):/root/shared --entrypoint="/bin/bash" dolfinx/lab