title |
keywords |
description |
notoc |
the-basics |
building-images |
running-containers |
What's next |
concepts, build, images, container, docker desktop |
Explore step-by-step guides to hep you understand core Docker concepts, building images, and running containers. |
true |
title |
description |
link |
What is a container? |
Learn how to run your first container. |
/guides/docker-concepts/the-basics/what-is-a-container/ |
|
title |
description |
link |
What is an image? |
Learn the basics of image layers. |
/guides/docker-concepts/the-basics/what-is-an-image/ |
|
title |
description |
link |
What is a registry? |
Learn about container registries, explore their interoperability, and interact with registries. |
/guides/docker-concepts/the-basics/what-is-a-registry/ |
|
title |
description |
link |
What is Docker Compose? |
Gain a better understanding of Docker Compose. |
/guides/docker-concepts/the-basics/what-is-docker-compose/ |
|
|
title |
description |
link |
Understanding image layers |
Learn about the layers of container images. |
/guides/docker-concepts/building-images/understanding-image-layers/ |
|
title |
description |
link |
Writing a Dockerfile |
Learn how to create an image using a Dockerfile. |
/guides/docker-concepts/building-images/writing-a-dockerfile/ |
|
title |
description |
link |
Build, tag and publish an image |
Learn how to build, tag, and publish an image to Docker Hub or any other registry. |
/guides/docker-concepts/building-images/build-tag-and-publish-an-image/ |
|
title |
description |
link |
Using the build cache |
Learn about the build cache, what changes invalidate the cache, and how to effectively use the build cache. |
/guides/docker-concepts/building-images/using-the-build-cache/ |
|
title |
description |
link |
Multi-stage builds |
Get a better understanding of multi-stage builds and their benefits. |
/guides/docker-concepts/building-images/multi-stage-builds/ |
|
|
title |
description |
link |
Publishing ports |
Understand the significance of publishing and exposing ports in Docker. |
/guides/docker-concepts/running-containers/publishing-ports/ |
|
title |
description |
link |
Overriding container defaults |
Learn how to override the container defaults using the `docker run` command. |
/guides/docker-concepts/running-containers/overriding-container-defaults/ |
|
title |
description |
link |
Persisting container data |
Learn the significance of data persistence in Docker. |
/guides/docker-concepts/running-containers/persisting-container-data/ |
|
title |
description |
link |
Sharing local files with containers |
Explore the various storage options available in Docker and their common usage. |
/guides/docker-concepts/running-containers/sharing-local-files/ |
|
title |
description |
link |
Multi-container applications |
Learn the significance of multi-container applications and how they're different from single-container applications. |
/guides/docker-concepts/running-containers/multi-container-applications/ |
|
|
The following sections provide step-by-step guides to help you understand core Docker concepts, building images, and running containers.
The basics
Get started learning the core concepts of containers, images, registries, and Docker Compose.
{{< grid items="the-basics" >}}
Building images
Craft optimized container images with Dockerfiles, build cache, and multi-stage builds.
{{< grid items="building-images" >}}
Running containers
Master essential techniques for exposing ports, overriding defaults, persisting data, sharing files, and managing multi-container applications.
{{< grid items="running-containers" >}}