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

[OpenFOAM.com] Install a new docker version of OpenFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 23, 2021, 12:01
Smile Install a new docker version of OpenFoam
  #1
New Member
 
Lei Dai
Join Date: Feb 2020
Posts: 5
Rep Power: 6
LeiFluidDynamics is on a distinguished road
Hi,



I am currently using OpenFoam 8 docker version in a Manjaro system (Linux). I would like to install a new version, OpenFoam 9 docker version. How could I install 2 docker versions in the same PC? Do I need a new docker or just add a docker image?
LeiFluidDynamics is offline   Reply With Quote

Old   November 23, 2021, 12:09
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by LeiFluidDynamics View Post
Hi,
I am currently using OpenFoam 8 docker version in a Manjaro system (Linux). I would like to install a new version, OpenFoam 9 docker version. How could I install 2 docker versions in the same PC? Do I need a new docker or just add a docker image?

You will have one version of docker itself, but there is no particular limit on how many docker images you can use. The next part will depend on how you are actually starting the images. In the openfoam.com version there is a

https://develop.openfoam.com/packagi...penfoam-docker
wrapper script. With that one, you could simply specify "openfoam-docker -2012" or "openfoam-docker -2106" to use different versions.
olesen is offline   Reply With Quote

Old   November 23, 2021, 12:14
Default
  #3
New Member
 
Lei Dai
Join Date: Feb 2020
Posts: 5
Rep Power: 6
LeiFluidDynamics is on a distinguished road
Quote:
Originally Posted by olesen View Post
You will have one version of docker itself, but there is no particular limit on how many docker images you can use. The next part will depend on how you are actually starting the images. In the openfoam.com version there is a

https://develop.openfoam.com/packagi...penfoam-docker
wrapper script. With that one, you could simply specify "openfoam-docker -2012" or "openfoam-docker -2106" to use different versions.

Hi,


Thank you a lot for your reply. So what I need to do is to add a docker image and install the new version (Openfoam 9) to that image. I can enter into different version of OpenFoam by different commands. Do I understand correctly?


Kind Regards,


Lei
LeiFluidDynamics is offline   Reply With Quote

Old   November 24, 2021, 04:34
Default
  #4
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by LeiFluidDynamics View Post
Hi,
Thank you a lot for your reply. So what I need to do is to add a docker image and install the new version (Openfoam 9) to that image. I can enter into different version of OpenFoam by different commands.

I'm sorry but I don't use or endorse the "openfoam.org" variant - also for reasons mentioned in my blog post: https://olesenm.github.io/2020/11/11...de-provenance/


The openfoam-docker command I mentioned is for the "openfoam.com" variant, with that one you simply specify the version and it will pull it (if available).
olesen is offline   Reply With Quote

Old   November 24, 2021, 09:29
Default
  #5
New Member
 
Lei Dai
Join Date: Feb 2020
Posts: 5
Rep Power: 6
LeiFluidDynamics is on a distinguished road
Quote:
Originally Posted by olesen View Post
I'm sorry but I don't use or endorse the "openfoam.org" variant - also for reasons mentioned in my blog post: https://olesenm.github.io/2020/11/11...de-provenance/


The openfoam-docker command I mentioned is for the "openfoam.com" variant, with that one you simply specify the version and it will pull it (if available).

Thank you for your kindly reply. I have sorted out this problem. Cheers!
LeiFluidDynamics is offline   Reply With Quote

Reply

Tags
docker, multiple version, openfoam 9


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
different results form openfoam 3.0.1 to 1912 yuno OpenFOAM Running, Solving & CFD 0 September 28, 2020 04:09
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
OpenFOAM-1.6 install cookbook MadsR OpenFOAM Installation 372 November 20, 2010 12:57
OpenFOAM 15 on AIX system does not support this version besto OpenFOAM Installation 3 October 29, 2008 05:23
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07


All times are GMT -4. The time now is 11:44.