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

[Other] Having to reinstall Openfoam utilities inside docker after every log in

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2017, 16: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: 13
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, 08:35
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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, 06:09
Default
  #3
pgh
Senior Member
 
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 135
Rep Power: 11
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


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
OpenFOAM course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 09:51
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 15:24
[Other] Installation of OpenFOAM: Docker or not Docker? zt49 OpenFOAM Installation 2 December 22, 2016 11:38
UNIGE February 13th-17th - 2107. OpenFOAM advaced training days joegi.geo OpenFOAM Announcements from Other Sources 0 October 1, 2016 20:20
meshing F1 front wing Steve FLUENT 0 April 17, 2003 13:37


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