Preparing your machine

Computer Requirements

  • Fairly decent machine
  • 64-bit OS
  • 8 GB RAM (4 GB may work)
  • VirtualBox 4.3.x installed
  • Vagrant 1.7.x installed
  • ~10 GB disk space

Setting up the software needed

Please verify that your machines will work during class, by following these steps:

  • Put this Vagrantfile in a new directory
  • Open a terminal and move (cd) to the above directory
  • Run vagrant plugin install vagrant-vbguest
  • Run vagrant up - N.B.: this step will download 1.5 GB
  • Once the virtual machine is up and running, start a terminal
  • Run docker run -it --rm busybox ping -c 5

This should give you something like the following:

vagrant@vagrant-ubuntu-trusty-64:~$ docker run -it --rm busybox ping -c 5
PING ( 56 data bytes
64 bytes from seq=0 ttl=61 time=9.357 ms
64 bytes from seq=1 ttl=61 time=9.336 ms
64 bytes from seq=2 ttl=61 time=9.467 ms
64 bytes from seq=3 ttl=61 time=8.640 ms
64 bytes from seq=4 ttl=61 time=9.559 ms
--- ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 8.640/9.345/9.599 ms