Docker Container
Question
What is a Docker container?
Hint
Containers are runtime instances of images.
Explanation
A Docker container is a running instance of a Docker image. It adds a writable layer on top of the read-only image. Containers share the host kernel but have isolated filesystem, network, and processes. Lifecycle: docker run (create+start), docker start, docker stop, docker rm. Containers are ephemeral — data is lost when removed unless stored in volumes. Multiple containers can run from the same image. Containers can be connected via networks. Use docker ps to list running containers.
Related Resources
Related Lessons
- Docker Containers
Learn containers.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.