Since Docker is not useful on Fedora 32 anymore, I decided to install podman in order to use the dolphin (previously called fenics) to run some solutions of PDEs.
Install podman on Fedora 32. If you want further information of podman, click here.
sudo dnf install -y podman
You might check that you are running podman by executing the ps command. This process might take a while. It is a new environment that use Fedora 32 resources.
[yulytas@fedora ~]$ podman ps -s CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES SIZE [yulytas@fedora ~]$
Now, we are going to create a folder where all the dolfin work will be stored in our laptop:
sudo mkdir ~/dolfin
From the file recently created, we can access interactively to the container register in quay.io/fenicsproject/stable:current. This will happen by using the port 8000 and mounting the work space /home/fenics/shared into my local folder ~/dolfin, as follows:
cd ~/dolfin && podman run -ti -p 8000:8000 -v ~/dolfin:/home/fenics/shared -w /home/fenics/shared quay.io/fenicsproject/stable:current
*** If everything goes well, you will see the following message displayed ***
# FEniCS stable version image Welcome to FEniCS/stable! This image provides a full-featured and optimized build of the stable release of FEniCS. To help you get started this image contains a number of demo programs. Explore the demos by entering the 'demo' directory, for example: cd ~/demo/python/documented/poisson python3 demo_poisson.py
What I am going to do from now on is, calculate the PDEs using dolfin (fenics), and then copy the results to /home/fenics/shared which is linked automatically to my local /dolfin.
Thanks to Dan for the explanation about containers.