Building imagesイメージの構築

Building container images is both technical and an art. You want to keep the image small and focused to increase your security posture, but also need to balance potential tradeoffs, such as caching impacts. In this series, you’ll deep dive into the secrets of images, how they are built and best practices.
Skill level Beginner
Time to complete 25 minutes
Prerequisites None

About this seriesこのシリーズについて

Learn how to build production-ready images that are lean and efficient Docker images, essential for minimizing overhead and enhancing deployment in production environments.生産準備が整った、スリムで効率的な Docker イメージを構築する方法を学びます。 これはオーバーヘッドを最小限に抑え、生産環境でのデプロイを強化するために不可欠です。

What you'll learnあなたが学ぶこと

  • Understanding image layersイメージレイヤーの理解
  • Writing a DockerfileDockerfileの作成
  • Build, tag and publish an imageイメージをビルド、タグ付け、公開する
  • Using the build cacheビルドキャッシュの使用
  • Multi-stage buildsマルチステージビルド

Modulesモジュール

Have you ever wondered how images work? This guide will help you to understand image layers - the fundamental building blocks of container images. You'll gain a comprehensive understanding of how layers are created, stacked, and utilized to ensure efficient and optimized containers.イメージがどのように機能するか疑問に思ったことはありませんか?このガイドは、イメージレイヤー - コンテナイメージの基本的な構成要素 - を理解するのに役立ちます。レイヤーがどのように作成され、スタックされ、効率的で最適化されたコンテナを確保するためにどのように利用されるかを包括的に理解することができます。

Start