First, verify if the Docker Desktop app is open and if it says “Docker Desktop is running”. Then, open the Prompt Command terminal and go to a tutorial folder. For example, if you download and extract the tutorial files to the Downloads folder and want to run the NACA0012 airfoil case with incompressible flow conditions, use this command:
cd Downloads/tutorials-main/NACA0012_Airfoil/incompressible
Now run the following command in the terminal and check the output to make sure you are in the right directory:
cd
Once you are in a tutorial folder, use the following command to start the DAFoam Docker image.
docker run -it --rm -u dafoamuser --mount "type=bind,src=%cd%,target=/home/dafoamuser/mount" -w /home/dafoamuser/mount dafoam/opt-packages:v3.1.2 bash