Welcome to the Linux Foundation Forum!

Lab 3.2 step 29 No such image: simpleapp:latest

Hello,

I have stuck on this lab everything was working fine until this step also seems on the previous step I have downloaded less than expected in the notes by the pull request in step 28. Please help is the image really missing?

step 28.

[email protected]:/localdocker$ sudo docker pull 10.98.38.59:5000/tagtest
Using default tag: latest
latest: Pulling from tagtest
da7391352a9b: Pull complete
14428a6d4bcd: Pull complete
2c2d948710f2: Pull complete
Digest: sha256:4e4bc990609ed865e07afc8427c30ffdddca5153fd4e82c20d8f0783a291e241
Status: Downloaded newer image for 10.98.38.59:5000/tagtest:latest
10.98.38.59:5000/tagtest:latest

step 29.

[email protected]:/localdocker$ sudo docker tag simpleapp 10.98.38.59:5000/simpleapp
Error response from daemon: No such image: simpleapp:latest

Below you can find all my steps which were successful so far.

=====

lab 3.2 from step 23

Step 23
[email protected]:/localdocker$ sudo systemctl restart docker.service
[email protected]:/localdocker$ sudo systemctl status docker.service | grep Active
Active: active (running) since Fri 2020-11-27 16:24:08 UTC; 23s ago

Step 24
[email protected]:/localdocker$ sudo docker pull ubuntu
Using default tag: latest
latest: Pulling from library/ubuntu
da7391352a9b: Pull complete
14428a6d4bcd: Pull complete
2c2d948710f2: Pull complete
Digest: sha256:c95a8e48bf88e9849f3e0f723d9f49fa12c5a00cfc6e60d2bc99d87555295e4c
Status: Downloaded newer image for ubuntu:latest
docker.io/library/ubuntu:latest

[email protected]:/localdocker$ sudo docker tag ubuntu:latest 10.98.38.59:5000/tagtest

Step 25

[email protected]:/localdocker$ sudo docker push 10.98.38.59:5000/tagtest
The push refers to repository [10.98.38.59:5000/tagtest]
f6253634dc78: Pushed
9069f84dbbe9: Pushed
bacd3af13903: Pushed
latest: digest: sha256:4e4bc990609ed865e07afc8427c30ffdddca5153fd4e82c20d8f0783a291e241 size: 943

Step 26
[email protected]:/localdocker$ sudo docker image remove ubuntu:latest
Untagged: ubuntu:latest
Untagged: [email protected]:c95a8e48bf88e9849f3e0f723d9f49fa12c5a00cfc6e60d2bc99d87555295e4c
[email protected]:/localdocker$

Step 27

[email protected]:/localdocker$ sudo docker remove 10.98.38.59:5000/tagtest
docker: 'remove' is not a docker command.
See 'docker --help'

[email protected]:/localdocker$ sudo docker image remove 10.98.38.59:5000/tagtest
Untagged: 10.98.38.59:5000/tagtest:latest
Untagged: 10.98.38.59:5000/[email protected]:4e4bc990609ed865e07afc8427c30ffdddca5153fd4e82c20d8f0783a291e241
Deleted: sha256:f643c72bc25212974c16f3348b3a898b1ec1eb13ec1539e10a103e6e217eb2f1
Deleted: sha256:9386795d450ce06c6819c8bc5eff8daa71d47ccb9f9fb8d49fe1ccfb5fb3edbe
Deleted: sha256:3779241fda7b1caf03964626c3503e930f2f19a5ffaba6f4b4ad21fd38df3b6b
Deleted: sha256:bacd3af13903e13a43fe87b6944acd1ff21024132aad6e74b4452d984fb1a99a
[email protected]:/localdocker$

Step 28

[email protected]:/localdocker$ sudo docker pull 10.98.38.59:5000/tagtest
Using default tag: latest
latest: Pulling from tagtest
da7391352a9b: Pull complete
14428a6d4bcd: Pull complete
2c2d948710f2: Pull complete
Digest: sha256:4e4bc990609ed865e07afc8427c30ffdddca5153fd4e82c20d8f0783a291e241
Status: Downloaded newer image for 10.98.38.59:5000/tagtest:latest
10.98.38.59:5000/tagtest:latest

Step 29
[email protected]:/localdocker$ sudo docker tag simpleapp 10.98.38.59:5000/simpleapp
Error response from daemon: No such image: simpleapp:latest
[email protected]:/localdocker$ sudo docker tag simpleapp 10.98.38.59:5000/simpleapp
Error response from daemon: No such image: simpleapp:latest
[email protected]:/localdocker$

Comments

  • Hi @smonov,

    Your step numbers are slightly off, perhaps because the lab PDF may be of a prior/outdated course release.

    The successful completion of the tag command in Lab 3.2 depends on several steps from Lab 3.1: the build step, images listing, and the containerrun. Steps 23-28 listed above only prove that the Docker is configured to access the private registry, otherwise they are not related to the successful completion of the simpleapp tagging step.

    Perhaps the image name has a typo. List images again with sudo docker images command and ensure that you are attempting to tag the image you find in your local image cache. If it is not found in the cache, then you need to re-build the simpleapp image.

    Regards,
    -Chris

  • Thank you Chris,

    Thanks for the help,
    For all facing the same issue.

    simpleapp image wasn't created all seems like I missed to do 3.1 lab. Now it is working since 3.1 is completed :smile::blush:

    [email protected]:~/app1$ sudo docker pull 10.98.38.59:5000/tagtest
    Using default tag: latest
    latest: Pulling from tagtest
    Digest: sha256:4e4bc990609ed865e07afc8427c30ffdddca5153fd4e82c20d8f0783a291e241
    Status: Image is up to date for 10.98.38.59:5000/tagtest:latest
    10.98.38.59:5000/tagtest:latest
    [email protected]:~/app1$ sudo docker tag simpleapp 10.98.38.59:5000/simpleapp
    [email protected]:~/app1$
    [email protected]:~/app1$
    [email protected]:~/app1$ sudo docker images
    REPOSITORY TAG IMAGE ID CREATED SIZE
    10.98.38.59:5000/simpleapp latest 9cdfaf746620 2 hours ago 902MB
    simpleapp latest 9cdfaf746620 2 hours ago 902MB
    10.98.38.59:5000/tagtest latest f643c72bc252 3 days ago 72.9MB
    nginx latest bc9a0695f571 4 days ago 133MB
    calico/node v3.17.0 048e0ac26968 5 days ago 165MB
    calico/pod2daemon-flexvol v3.17.0 fe6179f12c0a 5 days ago 21.7MB
    calico/cni v3.17.0 94159b46f8d8 5 days ago 128MB
    calico/kube-controllers v3.17.0 55795eb50753 5 days ago 52.1MB
    k8s.gcr.io/kube-proxy v1.19.0 bc9c328f379c 3 months ago 118MB
    k8s.gcr.io/kube-controller-manager v1.19.0 09d665d529d0 3 months ago 111MB
    k8s.gcr.io/kube-apiserver v1.19.0 1b74e93ece2f 3 months ago 119MB
    k8s.gcr.io/kube-scheduler v1.19.0 cbdc8369d8b1 3 months ago 45.7MB
    k8s.gcr.io/etcd 3.4.9-1 d4ca8726196c 5 months ago 253MB
    registry 2 2d4f4b5309b1 5 months ago 26.2MB
    k8s.gcr.io/coredns 1.7.0 bfe3a36ebd25 5 months ago 45.2MB
    nginx 1.17 9beeba249f3e 6 months ago 127MB
    python 2 68e7be49c28c 7 months ago 902MB
    k8s.gcr.io/pause 3.2 80d28bedfe5d 9 months ago 683kB

Categories

Upcoming Training