4C is available pre-built in a docker image #125
Replies: 3 comments 7 replies
-
|
This works quite nicely! What about introducing an alias for 4C within the container? |
Beta Was this translation helpful? Give feedback.
-
|
I ran into problems with disk space, indicated by docker output such as I could solve it by changing docker settings and increasing the allowed disk space for docker images. |
Beta Was this translation helpful? Give feedback.
-
|
Maybe it's not a good idea to mount the personal project file to or, shorter: Then it is accessible without any permission issues. Actually, I don't know why we don't put this stuff to the documentation? In my opinion, all necessary details are included. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
With PR #96 we introduced a docker image with a pre-built 4C executable. Anyone can test and use 4C with just a few simple commands without configuring any environment and waiting for the build to complete. You can just pull the image
docker pull ghcr.io/4c-multiphysics/4c:latest.Usage
Run the docker image
and, e.g., run the minimal tests
Run your input files
Run the docker image and mount a directory (e.g., the current directory
./)Set the correct owner of the mount (Unfortunately, we need to do that because we are the user user inside the docker image and the mount point is owned by root)
Run 4C with an input file from the host system and the output is also written to the host system
Visualize the results in Paraview on your PC.
Disclaimer This whole process is still a little awkward to use. But there will certainly be improvements in the future.
Additional information
At the moment, the docker image includes all dependencies required to run and test 4C, as well as the source. We will work on reducing the size of the docker image and only include the essentials to run 4C.
Share your feedback
Please give feedback on how well the docker image works and what can be improved for your workflow.
Beta Was this translation helpful? Give feedback.
All reactions