Skip to Content
Docker:アップ&ランニング 第3版
book

Docker:アップ&ランニング 第3版

by Sean P. Kane, Karl Matthias
March 2025
Intermediate to advanced
418 pages
6h 56m
Japanese
O'Reilly Media, Inc.
Content preview from Docker:アップ&ランニング 第3版

第10章. コンテナ・アット・スケール

この作品はAIを使って翻訳されている。ご意見、ご感想をお待ちしている:translation-feedback@oreilly.com

コンテナ の大きな強みは、基盤となるハードウェアや演算子を抽象化できるため、アプリケーションが特定のホストや環境に制約されないことだ。これにより、ステートレス・アプリケーションをデータセンター内だけでなく、クラウド・プロバイダー間でも水平に拡張することができる。コンテナ輸送のメタファーに忠実なように、あるクラウド上のコンテナは、別のクラウド上のコンテナのように見える。

多くの組織がLinuxコンテナのターンキー・クラウド・デプロイに魅力を感じているのは、社内で何かを完全に構築する必要なく、スケーラブルなコンテナ・ベースのプラットフォームがもたらす多くの利点を即座に得られるからだ。これは事実だが、クラウドや自社のデータセンターで独自のプラットフォームを構築するための障壁は、実際にはかなり低い。

主要なパブリッククラウドプロバイダ( )はいずれも、Linuxコンテナをネイティブにサポートすることに取り組んできた。パブリッククラウドでLinuxコンテナをサポートする最大の取り組みには、以下のようなものがある:

同じ企業の多くは、このようなKubernetesの堅牢なホスティングサービスも提供している:

パブリッククラウドのLinux インスタンスにDockerをインストールするのは簡単だ。しかし、サーバにDockerをインストールすることは、本番環境を作成するための一つのステップに過ぎない。これを完全に自分で行うこともできるし、主要なクラウド・プロバイダーやDocker社、より広範なコンテナ・コミュニティが提供する多くのツールを利用することもできる。ツールの多くは、パブリッククラウドでも自分のデータセンターでも同じように使える。

スケジューラーやより複雑なツール・システムの領域では、パブリッククラウド・プロバイダから得られる機能の多くを複製するシステムの選択肢がたくさんある。パブリッククラウドで実行する場合でも、既製のものを使用するのではなく、独自のLinuxコンテナ環境を実行することを選択する説得力のある理由がいくつかある。

この章では、Linuxコンテナを大規模に実行するためのいくつかのオプションを取り上げ、まずよりシンプルなDocker Swarmモードについて説明し、次にKubernetesや大規模なクラウドサービスのような、より高度なツールについて説明する。これらの例はすべて、Dockerを活用してアプリケーションのワークロードに非常に柔軟なプラットフォームを提供できることを示すものだ。

Docker Swarmモード

コンテナランタイム をDockerエンジンの形で構築した後、Docker社のエンジニアたちは、個々のDockerホストのフリートをオーケストレーションし、それらのホストにコンテナを効果的に詰め込むという問題に目を向けた。この作業から発展した最初のツールは、Docker Swarmと呼ばれた。初期に説明したように、かなり紛らわしいのだが、現在「Swarm」と呼ばれるものは2つあり、どちらもDocker社から提供されている。 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

初めてのSQL 第3版

初めてのSQL 第3版

Alan Beaulieu, 株式会社クイープ
インタフェースの設計 第3版

インタフェースの設計 第3版

Jenifer Tidwell, Charles Brewer, Aynne Valencia

Publisher Resources

ISBN: 9798341624474