Welcome to the Linux Foundation Forum!

Lab 3.3 why this error when running kubectl exec --it ?

error: unable to upgrade connection: container not found ("simpleapp")

Thank you

Answers

  • I had the same problem. I used this command
    curl $repo/v2/_catalog
    {"repositories": []}
    and noticed that I had a nothing repository

    student@cp: ̃/app1$ sudo podman tag simpleapp $repo/simpleapp
    student@cp: ̃/app1$ sudo podman push $repo/simpleapp

    I gave a tag and made a push. After that, it started working.

  • Why did it get removed from the repo? Maybe after a reboot of the machines?

  • chrispokorni
    chrispokorni Posts: 2,340

    Hi @do.siekierski,

    In its current setup, the local repo is not persistent across reboots.

    Regards,
    -Chris

Categories

Upcoming Training