Skip to content

Add an exercise to episode about pushing images

Exercise could be something like this:

Exercise: Which of these 12 listed repositories and tags are based on the same Docker image as tag my-ipython-image:latest?

$ docker image list
REPOSITORY                                                                TAG            IMAGE ID            CREATED           SIZE
1  python                                                                 3.9            3j54i421f983        1 week ago        885MB
2  my-ipython-image                                                       0.1.0          c42929207891        1 day ago         991MB
3  my-ipython-image                                                       0.2.0          13957d93j393        1 hour ago        995MB
4  my-ipython-image                                                       latest         13957d93j393        1 hour ago        995MB
5  ipython/nbviewer                                                       90c61ccd       c32856e2f323        1 week ago        103MB
6  registry.gitlab.com/christian.hueser.hzdr/my-ipython-image-project     0.1.0          c42929207891        1 day ago         991MB
7  registry.gitlab.com/christian.hueser.hzdr/my-ipython-image-project     0.2.0          13957d93j393        1 hour ago        995MB
8  registry.gitlab.com/christian.hueser.hzdr/my-ipython-image-project     latest         13957d93j393        1 hour ago        995MB
9  jupyter/datascience-notebook                                           latest         13485d485j21        1 week ago        1.8GB
10 christianhueserhzdr/my-ipython-image-project                           0.1.0          c42929207891        1 day ago         991MB
11 christianhueserhzdr/my-ipython-image-project                           latest         13957d93j393        1 hour ago        995MB
12 ubuntu                                                                 20.04          13957d93j393        1 hour ago        995MB

Solution: 3, 7, 8, 11, 12(!)