9. Virtual
Machines
Hypervisor
App A App B
Bins/Libs Bins/Libs
Guest OS Guest OS
Host OS
Server
}Each virtualized application
includes not only the application -
which may be only 10s of MB - and
the necessary binaries and
libraries, but also an entire guest
operating system - which may
weigh 10s of GB.
10. Docker
Docker Engine
App A App B
Bins/Libs Bins/Libs
Host OS
Server
} The Docker Engine container
comprises just the application and
its dependencies. It runs as an
isolated process in userspace on
the host operating system, sharing
the kernel with other containers.
Thus, it enjoys the resource
isolation and allocation benefits of
VMs but is much more portable
and efficient.
11. Virtual Machines
Hypervisor
App A App B
Bins/Libs Bins/Libs
Guest OS Guest OS
Host OS
Server
Docker Engine
App A App B
Bins/Libs Bins/Libs
Host OS
Server
Docker
17. 3. vagrant-hostsupdater
Install the vagrant-hostsupdater plugin
Vagrant のプラグイン vagrant-hostsupdater をイ
ンストール
$ vagrant plugin install vagrant-hostsupdater
vagrant-hottsupdater for Windows is not allowed to change hosts file by default. Please add
"wocker.dev 172.17.8.23" by yourself!
Windows のデフォルトでは、vagrant-hostsupdater が hosts ファイルを変更できないため、ご自身で
"wocker.dev 172.17.8.23 を hosts ファイルに追加してください。
18. 4. Clone the Repo
Clone the Wocker Repository
Wocker リポジトリをクローン
$ git clone https://github.com/wckr/wocker.git && cd wocker
20. Best Practice
- Wocker commands are recommended
Wocker コマンドでの操作を推奨します
- Stop or remove the running container before restarting a
stopped one or running a new one
コンテナの再起動や新規作成の前に、起動中のコンテナを停止もし
くは削除してください
- Do not destroy the Vagrant machine of Wocker
Wocker のバーチャルマシンをデストロイしない