remche / docker-image-nextsimdg-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Creation of a docker image for nextsimdg

I will use repo2docker github workflow and quay.io to create and host the docker image that will be used to run nextsimdg following this 2i2c tutorial and that tutorial.

The modifications of the Dockerfile are done in a dedicated branch, then a pull request is created so that it will trigger a binder image. When it is ready, the pull request is merge and that triggers the creation of the docker image on quay.io.

Then you have to check on https://quay.io/repository/auraoupa/nextsimdg-demo-meeting?tab=tags, the newest tag that has been created, you click and the download icon (fetch the tag), select docker pull by tag and the command docker pull quay.io/auraoupa/nextsimdg-demo-meeting:f1b93ce58bab for instance is generated.

You can test the docker with binder each time you do a pull request : https://mybinder.org/v2/gh/auraoupa/docker-image-nextsimdg-demo/notebook2

To add the notebook layer, I followed jupyter's documentation and read some images dockerfile

With your local instance of docker you can download the docker image with the command and then you run it with docker exec -it d63b7e4998665547be7127449db7963e40c65efdcaa2bb08c005d9b2acc7f9e5 /bin/sh (get the command from docker desktop)

When a notebook interface is deployed do :

About


Languages

Language:Dockerfile 47.9%Language:Python 36.7%Language:Shell 15.5%