4C is available pre-built in a docker image #125
ppraegla
announced in
Announcements
Replies: 1 comment 2 replies
-
This works quite nicely! What about introducing an alias for 4C within the container? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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