Skip to Content
Docker
book

Docker

by Adrian Mouat, Sky株式会社 玉川 竜司
August 2016
Intermediate to advanced
384 pages
9h 20m
Japanese
O'Reilly Japan, Inc.
Content preview from Docker
4
1 章 コンテナとはなにか、そしてなぜ注目されているのか
エンドユーザーや開発者にとって、クラウドへのデプロイをしない場合でも、コンテナに
は利点があります。ユーザーは、設定とインストールの問題に数時間を費やしたり、シス
テムへの変更について気をもんだりすることなく、複雑なアプリケーションをダウンロー
ドして実行できます。一方で、そういったアプリケーションの開発者は、ユーザーの環境
や利用可能な依存対象の差異を心配せずに済むようになります。
さらに重要なのは、
VM
とコンテナでは根本的にゴールが違っていることです。
VM
が目的とし
ているのは、異なる環境を完全にエミュレートすることであるのに対し、コンテナが目的とするの
は、アプリケーションをポータブルにし、単体で動作できるようにすることなのです。
1.1
 コンテナと
VM
コンテナと
VM
は、一見似ているように見えますが、重要な違いがいくつかあります。これは、
図で説明するのが一番わかりやすいでしょう。
1-1
は、ホスト上でそれぞれ独立の
VM
で動作している
3
つのアプリケーションです。
VM
を作成して動作させるためには、下位層の
OS
やハードウェアへのアクセスを制御し、必要に応
じてシステムコールを解釈してくれるハイパーバイザ
が必要になります。それぞれの
VM
には、
OS
、実行するアプリケーション、必要な支援ライブラリの完全なコピーが必要になります。
それに対し、
1-2
は、同じ
3
つのアプリケーションがコンテナ化されたシステムでも動作す
ることを示しています。
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

Docker Deep Dive

Docker Deep Dive

Nigel Poulton
Hands-on Kubernetes

Hands-on Kubernetes

Sander van Vugt
入門 Kubernetes

入門 Kubernetes

Kelsey Hightower, Brendan Burns, Joe Beda, 松浦 隼人

Publisher Resources

ISBN: 9784873117768Other