今までは開発環境はVagrantを使ってプロジェクトごとにvagrant+ansibleで環境構築をしていました。 ansibleを使っているのでプロビジョニングの手間はそれほどないのですが、色々と問題が出てきたのでDockerを使ってみることにしました。 例えば、プロジェクトが増えるごとにVMが増えていくのでディスクの使用量を結構食ってしまうとか、プロジェクトを切り替える時にいちいちvagrant haltしてupしてというのが面倒になってきたことや、Parallels Desktopは1ライセンスにつきPC1台なので会社ではVMWare Fusionを使うようにしてしまって同じboxが使えなかったりとか...です。 Docker Machineのインストール MacだとDockerを直接実行できないので、一旦VM上でCoreOSやboot2dockerを実行してその上でDockerを実