Skip to content

Instantly share code, notes, and snippets.

@hayajo
Last active August 29, 2015 14:07
Show Gist options
  • Select an option

  • Save hayajo/6ad10cd1f0d177420080 to your computer and use it in GitHub Desktop.

Select an option

Save hayajo/6ad10cd1f0d177420080 to your computer and use it in GitHub Desktop.
Dockerの最新stableを利用するためのVagrantfile
# -*- 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
@hayajo
Copy link
Author

hayajo commented Oct 17, 2014

CentOS 6.xだと最新stableを利用するのは苦労しそうなのでUbuntuで構築

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment