This Docker image is for FEniCS stable version. It contains full-fledged and optimized versions of PETSc, SLEPc, petsc4py and slepc4py already compiled. FEniCS itself is built from the source code in the git repository, built with Python 3.
To install Docker for your platform (Windows, MacOS, Linux, cloud platforms, etc.), follow the instructions at docker.com.
Once you have Docker installed, you can run the image using the following command:
docker run -rm -ti -w/home/fenics/shared -v $(pwd):/home/fenics/shared fenics/stable:py3
which would share your current working directory into the container as ~/shared. Note that you should only save files under the shared directory because all others will be lost when the process ends.
Users with SELinux-enabled Linux distributions (Redhat, Fedora, CentOS, and others) will need to add the :z flag to the volume mount, e.g.:
docker run -rm -ti -w/home/fenics/shared -v $(pwd):/home/fenics/shared:z fenics/stable:latest
More extensive documentation, including suggested workflows, is available at https://fenics-containers.readthedocs.org/. Note that when this image, you need to replace quay.io/fenicsproject/stable by fenics/stable:py3 in the commands.
Content type
Image
Digest
Size
526.8 MB
Last updated
almost 9 years ago
docker pull fenics/stable:py3