CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   REEF3D (https://www.cfd-online.com/Forums/reef3d/)
-   -   unknown shorthand flag:-d (https://www.cfd-online.com/Forums/reef3d/255630-unknown-shorthand-flag-d.html)

277649496 April 21, 2024 01:14

unknown shorthand flag:-d
 
When I run reef3d by docker,I miss the problem that: docker run-i -name reef3d -d -t -v /F:/REEF3D_Docker/simulations:/simulations reef3d,The teminal prompts me unknown shorthand flag:-d
When I capitalize d, prompt me again:unknown shorthand flag: 't' in -t

277649496 April 21, 2024 03:18

Quote:

Originally Posted by 277649496 (Post 868028)
When I run reef3d by docker,I miss the problem that: docker run-i -name reef3d -d -t -v /F:/REEF3D_Docker/simulations:/simulations reef3d,The teminal prompts me unknown shorthand flag:-d
When I capitalize d, prompt me again:unknown shorthand flag: 't' in -t

The problem has been solved. For folders with a virtual path /case/, The real path of the win11 system is "F:\REEF3D_Docker\case", then the command you need to type is docker run -v /F/REEF3D_Docker/case/:/case/ -it reef3d bash
This is my advice to docker users, I can't understand this command in the user-guide


All times are GMT -4. The time now is 19:29.