"up" with vagrant and docker
TRANSCRIPT
NTTDATA
"Up" with Vagrant and Docker
Hiroshi Miura(@miurahr)
NTT
Docker Meetup Tokyo 2014 #1
Disclaimer
Any product name, service name, software name and other marks are trade mark or registered mark of corresponding companies.
This presentation is in a purpose of providing current information on emerging technologies and there is no grantee of correctness and/or persistence of features in any future.
A presenter and NTT Data Corporation provide information in as-is basis and have no responsiveness for results that you got according to information in this presentation material.
Introduction to Vagrant
Vagrant
vagrantup.com
What is Vagrant
Mitchell Hashimoto
Ruby
OracleVM VirtualBoxAWS EC2
VMWare Fusion
Vagrant Users
VagrantWeb
MacBook AirMacBook Pro
VirtualBoxUbuntu
AWSVPS
Ruby/RoR
Github
Vagrant Users
RHEL, CentOSWindows
vCenter, OpenStack
Puppet, Chef, Ansible
OpenFlow
Vagrant Plugins
Vagrant 1.1+2013.2Provider:
Provisioner:
host/guest: OS
Synced_folder:
Vagrant 1.4Docker provisioner
Vagrant provisioner
Shell, Puppet, Chef
Puppet: Client/Server/tmp/puppet-manifest
/tmp/puppet-modules
Chef: Chef-solo, Client/Server
Shell:
Salt, Docker...
Vagrant installation
VirtualBox
VagrantMac, Windows, Linux(CentOS/RHEL, Ubuntu/Debian)
Vagrant
Vagrant box
What is Vagrant box
VM
development in progress)
Find your Boxes
Catalog siteURLvagrantbox.es
config.vm.box_url= ""
$ vagrant box add
Environment creation
"Vagrantfile"
$ vagrant init
# -*- mode: ruby -*-# vi: set ft=ruby :
Vagrant.configure("2") do |config| config.vm.box = "precise64" config.vm.box_url = "http://domain.com/path/to/above.box" config.vm.network :forwarded_port, guest: 80, host: 8080 config.vm.network :private_network, ip: "192.168.33.10"
config.vm.provider :kvm do |kvm| kvm.gui = "true" kvm.image_type = "qcow2" kvm.memory_size = "512m" kvm.core_number = 2 kvm.cpu_model = 'i686' end
config.vm.provision :shell, inline: