Skip to content

coolsvap/vagrant-kata-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For setting it up, you will need,

  • VirtualBox (Currently only tested with virtualbox)
  • Vagrant with following plugins
    • vagrant-vbguest
    • vagrant-hostmanager
    • vagrant-share

To Install the plugins, use following command,

vagrant plugin install <plugin-name>

The setup instructions are simple, once you have installed the prereqs, clone the repo

git clone https://github.com/coolsvap/vagrant-kata-dev

Edit the Vagrantfile to update details

  1. Update the bridge interface so the box will have IP address from your local network using DHCP. If you do not update, it will ask for the interface name you start machine.
  2. Update the golang version, currently its at 1.9.3

Create the vagrant box with following command

vagrant up

Once the box is started, login to the box using following command

vagrant ssh

Switch to root user and move to vagrant shared directory and install the setup script

sudo su
cd /vagrant
./setup-kata-dev.sh

It will perform the steps required to setup the dev environment. Verify the setup done correctly with following steps,

# docker info | grep Runtime
WARNING: No swap limit support
Runtimes: kata-runtime runc
Default Runtime: runc

About

Kata Containers Dev Environment with Vagrant

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages