Ask Your Question
0

CROCO in a docker container?

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

andres gravatar image

Hi,

Has anyone developed a docker container already?

I am developing one, just in case it is useful

The instructions are here

https://github.com/AndresSepulveda/do...

and the docker image

https://hub.docker.com/r/andressepulv...

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

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

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

Comments

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 +0200 )edit
0

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

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

Stats

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

Seen: 92 times

Last updated: Jul 04