|
[Sponsors] |
January 20, 2021, 06:49 |
Docker problems
|
#1 |
Member
Fabian Friberg
Join Date: Dec 2020
Posts: 31
Rep Power: 5 |
I first installed OF7 on my mac using docker, and it worked great. The script creates a contained environment where only the directory I launched the script from exists, and all alias shortcuts (like src, run etc) work.
Then I installed OFv2006, and the docker script is different. It creates an image of my entire file system which always starts at my home directory so I have to navigate to the right folder, and the user directory shortcut aliases/variables don't work (like run or cd $FOAM_USER_APPBIN). For example, echo $FOAM_RUN gives //OpenFOAM/lumpor-v2006/run, which doesn't exist The two '/' characters at the start confuse me. I tried changing "home" to "pwd" in some places in the v2006 docker file, but it doesn't seem to work. Also, using the OF7 container I can make changes in my working directory from outside the terminal in real-time, while for the OFv2006 container I need to restart the container every time I edit any files. Is there any way I could use the docker script for OF7 with OFv2006? Thanks Last edited by lumpor; February 12, 2021 at 11:05. |
|
January 27, 2021, 02:54 |
|
#2 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,695
Rep Power: 40 |
Could you please open an issue for discussion on develop.openfoam.com? It is something very important to understand how people actually want to use a containerized OpenFOAM. I can imagine that we may well wish to provide a few different scripts, or make different entry points within the container.
Your input (and others) would be most appreciated. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Problems with coedge curves and surfaces | tommymoose | ANSYS Meshing & Geometry | 6 | December 1, 2020 11:12 |
[OpenFOAM.com] v1712 with Docker on Ubuntu 17.10. Use same docker in Windows 10? | amh@inventas.no | OpenFOAM Installation | 0 | January 30, 2018 08:59 |
[Other] Installation of OpenFOAM: Docker or not Docker? | zt49 | OpenFOAM Installation | 2 | December 22, 2016 10:38 |
[OpenFOAM.com] v1606+ Install pb with Docker on OSX El Capitan | BPich | OpenFOAM Installation | 3 | October 10, 2016 18:52 |
[OpenFOAM.com] Docker OpenFOAM install error on Mac OS X | dersh | OpenFOAM Installation | 10 | May 6, 2016 12:49 |