Skills Check
Table of contents
Test your grasp of containers with the following checks. Which of these can you do?
Novice
- Install Docker Desktop on your local computer and sign into Docker.
- Know the basic docker commands to pull a container image, list images, and delete an image.
- Understand the two modes for running a container.
- Be familiar with how to list running containers.
Advanced Beginner
- Know how to pass an environment variable into a container when issuing the
run
command. - Understand how to stop a running container and start it back again.
- Be familiar with container registries, image tagging, and how to push/pull images to a registry.
- Use
docker exec -it
to gain the terminal of a running container, and understand how to troubleshoot errors or issues from within the container.
Competent
- Be familiar with port mapping between a running container and its local host machine.
- Be familiar with volume mapping between a running container and its local host machine.
- Write a
Dockerfile
and build your own code into a container image.
Proficient
- Understand ways to build small, or “slim,” container images.
- Know how to follow the output log of a running container.
Expert
- Be familiar with
docker compose
and how to launch multiple containers as part of a solution. - Know how to communicate across containers. For instance, if an API container needs to connect to a containerized database service, what address does it use?
- Set up automated container builds as part of a GitHub Action.