Ask Your Question

CROCO in a docker container?

asked 2022-07-03 18:13:50 +0100

andres gravatar image


Has anyone developed a docker container already?

I am developing one, just in case it is useful

The instructions are here

and the docker image

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2022-07-04 09:39:41 +0100

slegac gravatar image

Hi Andres,

I ran CROCO in a docker container but my aim was to store the image in gitlab container registry to use it in gitlab-CI so my Dockerfile is simpler as I did not need to download CROCO source code (already known in the gitlab repository). The main stuff is just fortran with mpi and netcdf. I just have issue using NC4PAR cppkeys (parallel netcdf is not install with this Dockerfile)

Here is the Dockerfile I use : C:\fakepath\Dockerfile.txt

Thanks for your version !

edit flag offensive delete link more


Hi, I noticed that you don't install libnetcdf-dev. For my my UBUNTU:16.04 Dockerfile it is needed to compile coco. The model runs and all is well, but the output files are not saved in the container, need to fix this.

andres gravatar imageandres ( 2022-07-05 19:53:21 +0100 )edit

answered 2022-07-04 18:09:44 +0100

andres gravatar image

Thanks a lot for your comment, I was not aware of Gitlab-CI. I am aiming to the deployment of CROCO in web instances such as Azure or AWS.

It is a good idea to use a lightweight Linux distribution. An important restriction is the use of version of Octave that allows the OctCDF module, in order to use CROCO_TOOLS.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2022-07-03 18:13:50 +0100

Seen: 271 times

Last updated: Jul 04 '22