Docker pull and running in venv

Hi, I have pulled the docker image and also have sucessfully importted module on global environment:

docker run dolfinx/dolfinx:v0.8.0

from the tutorial site https://jsdokken.com/dolfinx-tutorial/fem.html#official-images

There are several ways of customizing a docker container, such as mounting volumes/sharing folder, setting a working directory, sharing graphical interfaces etc. See docker run --help for an extensive list.
Once you have installed DOLFINx, either by using docker or installing from source, you can test the installation by running python3 -c "import dolfinx". If all goes well, no error-messages should appear.

How do i make it working in a venv?

Why would you want to have a venv? Just create a new container with docker create, and then install any additional dependency you need in that container (which already is an isolated environment). The container will be given a name (automatically, or a name of your choice), and then in future you can re run it again with docker start.

These keywords (create, start) should be enough to search for further details on how to use docker. I may not reply any further if future questions are about basic docker usage, on which there are plenty of online resources.