Last active
August 29, 2015 14:07
-
-
Save hayajo/6ad10cd1f0d177420080 to your computer and use it in GitHub Desktop.
Dockerの最新stableを利用するためのVagrantfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # see. https://docs.docker.com/installation/ubuntulinux/#ubuntu-trusty-1404-lts-64-bit | |
| VAGRANTFILE_API_VERSION = "2" | |
| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
| config.vm.box = "ubuntu/trusty64" | |
| config.vm.network "private_network", ip: "192.168.33.10" | |
| config.vm.provision :shell, inline: <<-"EOF" | |
| curl -sSL https://get.docker.com/ubuntu/ | sudo sh | |
| gpasswd -a vagrant docker | |
| EOF | |
| end |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CentOS 6.xだと最新stableを利用するのは苦労しそうなのでUbuntuで構築