refrainingの耐え忍ぶ日々

Webエンジニアの雑記帳です。内容は主にプログラミングに関する事です。

Docker for Mac インストール手順

基本的にはオフィシャルサイトの手順通りに実施すればOKです。

と思い実施したところ・・・Fatal Error発生!
f:id:refraining:20160820084532p:plain

オフィシャルサイトに記載されているシステム要件は満たしているはずだけど。。。

System Requirements: Docker for Mac will launch only if all these requirements are met.
Mac must be a 2010 or newer model, with Intel’s hardware support for memory management unit (MMU) virtualization; i.e., Extended Page Tables (EPT)
OS X 10.10.3 Yosemite or newer
At least 4GB of RAM
VirtualBox prior to version 4.3.30 must NOT be installed (it is incompatible with Docker for Mac)

調査の結果、どうやら自分のMacがHypervisor frameworkをサポートしてないことが原因と判明。
以下のコマンドでその確認が可能です。

$ sysctl kern.hv_support
kern.hv_support: 0

オフィシャルサイトには

If your Mac supports the Hypervisor Framework, the command will print kern.hv_support: 1.
If not, the command will print kern.hv_support: 0.

と記載されているので、やはり自分のMacはHypervisor frameworkをサポートしていませんでした。

なので、Docker for MacはあきらめてDocker Toolboxをインストールします!
手順通りにインストールを実行したら、Docker Quickstart Terminalが起動したことを確認しました!