I want to be able to use openfoam v1612+ in docker Container. I am using Ubuntu. I am hoping for any Help and if there is any better more organized way.
I will write all the steps that i have done so far by following this answer and the error that i am getting.
- Pulling by the command
 
docker pull openfoamplus/openfoamplus1612:latest
- then running the docker container as follow ( without /bin/bash is giving me always error)
 
 docker run -it openfoamplus/of_v1612plus_centos66 /bin/bash
- Create a new case directory inside the container:
 
 mkdir -p $FOAM_RUN/<case-name>
Copy the necessary files for case into the new case directory.
Within the container, changing the directory to:
cd /opt/OpenFOAM/
- source the script: setImage_v1612+ by running:
 
source setImage_v1612+
- Navigate to the case directory and run the compilation command:
 
cd $FOAM_RUN/<case-name> 
- Using the Command 
wmakeand the filesmuVisc.CandmuVisc.Hare already existing. But getting always this Error: 
> wmakeLnInclude: linking include files to ./lnInclude
make: *** No rule to make target `Make/linux64GccDPInt32Opt/muVisc/muVisc.C.dep', needed by `Make/linux64GccDPInt32Opt/muVisc/muVisc.o'.  Stop.