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

Having to reinstall Openfoam utilities inside docker after every log in

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 19, 2017, 15:31
Default Having to reinstall Openfoam utilities inside docker after every log in
  #1
New Member
 
Sohail
Join Date: Jul 2013
Posts: 10
Rep Power: 6
sohailr is on a distinguished road
Dear all,

I am trying to install cfMesh. I am using a openfoam on debian with docker. I can install cfMesh and everything runs just fine. When I exit the docker however, my installed cfMesh utility is removed and I have to reinstall it every time I log into docker image.

Is there any way I can make the openfoam utilities I install permanent so I dont have to reinstall them after every log in?

Thanks

Sohail
sohailr is offline   Reply With Quote

Old   April 22, 2017, 07:35
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,125
Blog Entries: 39
Rep Power: 110
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Quick answer:
  1. It may depend on the Docker image you are using and how it is configured to work.
  2. What I mean is that many of the Docker images that have been configured to use OpenFOAM, have a mount option that mounts your own real home folder into the contained instance.
  3. Therefore, if your home folder is mounted during boot up inside the contained instance, then the conventional installation steps for cfMesh and other custom software that is designed to work with OpenFOAM, should be installed at "~/OpenFOAM/your_username-OFversion/platforms", e.g.:
    Code:
    ~/OpenFOAM/ofuser-4.1/platforms
  4. I'm not familiar enough with Docker, so I suggest you search online for something like:
    Code:
    mount real home inside docker container
__________________
wyldckat is offline   Reply With Quote

Old   May 28, 2017, 05:09
Default
  #3
pgh
Senior Member
 
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 123
Rep Power: 4
pgh is on a distinguished road
Sohailr

a)When you are running OpenFOAM from OpenCFD using docker then , changes will be there in docker container untill or unless you have deleted the container.
pgh is offline   Reply With Quote

Reply

Tags
docker, utlities

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 03:19
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 5, 2016 04:18
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25
meshing F1 front wing Steve FLUENT 0 April 17, 2003 12:37


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