skip to content
Ivan's wiki
Site Tools
Search
Tools
Show pagesource
Backlinks
Recent Changes
Media Manager
Sitemap
>
Recent Changes
Media Manager
Sitemap
docker
This page is read only. You can view the source, but not change it.
# Docker **Docker** is a containerization platform that packages your application and its dependencies into a lightweight, portable unit called a container. Run `docker run` to start a container from an image; it starts instantly and includes everything your app needs—no "works on my machine" problems. An **image** is a blueprint: a layered filesystem snapshot plus metadata. A **container** is a running instance of an image, with its own isolated filesystem, network, and environment. Build images from a Dockerfile, run containers from images, and share images via a registry (Docker Hub, private registries, etc.). ```bash $ docker build -t myapp . # build an image from Dockerfile $ docker run myapp # run a container from an image $ docker push myapp # push image to registry $ docker pull myapp # pull image from registry ``` Containers are ephemeral by default—data disappears when they stop. Use volumes for persistent storage, networks to link containers, and Compose to orchestrate multi-container apps. ## Concepts 1. [Images](/docker-images) 2. [Containers](/docker-containers) 3. [Dockerfile](/docker-dockerfile) 4. [Building images](/docker-building) 5. [Running containers](/docker-running) 6. [Volumes](/docker-volumes) 7. [Networks](/docker-networks) 8. [Registries](/docker-registries) 9. [Pulling and pushing](/docker-pulling-and-pushing) 10. [Tagging](/docker-tagging) 11. [Layers](/docker-layers) 12. [Entrypoint and CMD](/docker-entrypoint-and-cmd) 13. [Environment variables](/docker-environment-variables) 14. [Ports and networking](/docker-ports) 15. [Compose](/docker-compose)
Page Tools
Show pagesource
Backlinks
Back to top