Help with Using Fenicsx in VS Code and Adding Libraries in Docker Containers

How do you start the docker container when you want to use it in vscode?

Usually, one would add a —name=name-of-my-container, so that next time you want to run code, you call docker container start -i name-of-my-container rather than docker run …

If you are using the dolfinx docker containers, don’t add conda to the mix.

I would keep Paraview outside the docker image, as it uses a GUI, which can be a hassle to get to work through docker. Paraview provide binaries on their webpage that you can use.

You should use it with Dev Containers - Visual Studio Marketplace
as it lets you attach a docker container to vscode.

See for instance:

for similar questions