Replies: 1 comment 2 replies
-
Can you copy the tutorial inside the docker container and run it? For example copy it to |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I did the follwing:
cd .\DAFoam\workshops\2021_Summer\examples\naca0012\incompressible\
docker run -it --rm -u dafoamuser --mount "type=bind,src=$(pwd),target=/home/dafoamuser/mount" -w /home/dafoamuser/mount dafoam/opt-packages:v3.0.7 bash
pd: Im in windows and i replace %cd% with $(pwd) because this work for me for run the docker image intead of %cd%
./preProcessing.sh
and i get the next error:
➜ docker run -it --rm -u dafoamuser --mount "type=bind,src=$(pwd),target=/home/dafoamuser/mount" -w /home/dafoamuser/mount dafoam/opt-packages:v3.0.7 bash dafoamuser@fb3ee39343e0:~/mount$ ls 0.orig Allclean.sh FFD constant genAirFoilMesh.py paraview.foam preProcessing.sh profiles runScript.py system dafoamuser@fb3ee39343e0:~/mount$ ./preProcessing.sh bash: ./preProcessing.sh: /bin/bash^M: bad interpreter: No such file or directory dafoamuser@fb3ee39343e0:~/mount$
Im using windows terminal(Windows powershell)
Beta Was this translation helpful? Give feedback.
All reactions