VagrantとDocker(とDocker Compose)を使って開発環境を一発で立ち上げられるようすることを目標とした連載(予定)、第一回です。 最終的な目標はこうなります。 以下の環境を前提としています。 ホスト:Windows10(コマンドはCygwinを使用) Vagrant:1.9.2(インストールは割愛) ゲストOS:ubuntu:trusty 今回はVagrantにDockerを入れるまでを書いていきます。 ゲストOSが起動するまでの流れ Vagrant boxを追加する(ダウンロードも可) Vagrantfileを作成する ゲストOSを起動する Vagrant boxを追加する Vagrant boxに対してinitを行うことで、Vagrantfileのひな型が作成されます。