CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[Other] Docker problems

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By olesen

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 20, 2021, 06:49
Default Docker problems
  #1
Member
 
Fabian Friberg
Join Date: Dec 2020
Posts: 31
Rep Power: 5
lumpor is on a distinguished road
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.
lumpor is offline   Reply With Quote

Old   January 27, 2021, 02:54
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,684
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
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.
lumpor likes this.
olesen is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 09:54.