Learning paths / Containers / Registries

Check: registries

Knowledge check · 5 min · Module 5, lesson 4 of 45 min left in this module

Module 5 · RegistriesLesson 4 of 4

Goal: Confirm you can name an image for a registry, choose credentials, and push an image others can pull.

Four questions: three on this module, one from Module 3. Every answer explains itself, right or wrong.

You built my-api:2.1.0 and want it on GHCR under your account, octocat. Which command comes before docker push?
Your deploy pulls my-api:latest. A teammate pushes an unfinished build as latest, and a server restarts. What happens?
A CI job pushes images, and a platform only runs them. How many tokens, with what access?
From Module 3: you pull your pushed image back and start it with docker run -d --name web -p 3000:3000. curl localhost:3000 gets no answer, and docker ps doesn't list web. What do you run first?

Retry as often as you like.