|
[Sponsors] |
[OpenFOAM.com] Error installing with Docker on Linux |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 6, 2020, 13:22 |
Error installing with Docker on Linux
|
#1 |
New Member
Join Date: Jul 2014
Posts: 3
Rep Power: 12 |
I'm trying to install OpenFOAM on my Raspberry Pi 4 (yes I know...) and I've gone for the Docker method for Linux, here: https://www.openfoam.com/download/in...nary-linux.php
the Docker image downloads fine and running ./installOpenFOAM for the first time downloads everything correct. When I run it again, it creates the container wihtout error. However, when I run ./startOpenFOAM, I get the following error: Error response from daemon: Container <long_container_id> is not running This happens both when I'm ssh'd into my Pi, and when I'm directly on the Pi. I understand a Pi isn't the best for CFD but as it runs Linux, I don't see why it wouldn't work? Thanks for the help. |
|
May 6, 2020, 17:33 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
which OS does it use? rasperry pi isn't just the hardware name (sorry for my ignorance)?
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
May 6, 2020, 17:43 |
|
#3 |
New Member
Join Date: Jul 2014
Posts: 3
Rep Power: 12 |
It's using Raspian which is an OS based on Debian.
|
|
May 6, 2020, 17:52 |
|
#4 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
I have never used Docker, so be cautious please.
I found this: "When the application terminates, so does the container." "By default, docker container will exit immediately if you do not have any task running on the container." Do you know what `./startOpenFOAM` script actually does? Does it open something specific, or perform some tutorial? EDIT: Isn't it possible to compile OpenFOAM directly in Debian instead of using Docker which is only for Windows I suppose?
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
May 6, 2020, 19:16 |
|
#5 |
New Member
Join Date: Jul 2014
Posts: 3
Rep Power: 12 |
Docker is hugely popular on both Linux and Mac OS, not just Windows.
The official OpenFOAM website even suggests it be installed this way on a Linux OS: https://www.openfoam.com/download/in...nary-linux.php I suspect my issue is to do with X11 or some sort of display issue and how it works with Docker but I'm out my depth. |
|
Tags |
docker, error, install, linux, raspberry |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFoam in docker (gcc 6) vs. OpenFoam natively compiled (gcc 8.1.1) | Anouk | OpenFOAM Running, Solving & CFD | 0 | September 17, 2018 09:02 |
[OpenFOAM.com] Docker vs Not Docker v2 AND installing editors into Docker | u2berggeist | OpenFOAM Installation | 1 | July 10, 2018 03:58 |
[OpenFOAM.com] v1606+ Install pb with Docker on OSX El Capitan | BPich | OpenFOAM Installation | 3 | October 10, 2016 19:52 |
[OpenFOAM.org] A Mac OS X of23x Development Environment Using Docker | rt08 | OpenFOAM Installation | 1 | February 28, 2016 20:00 |
Dual Boot Windows and Linux and Go Open Source | andyj | Main CFD Forum | 2 | October 21, 2010 17:49 |