Image for post
Image for post
Docker Logo

The hype by the tech community about how awesome docker is motivated me to try it out. a quick way I wanted to do it is through vagrant so I could delete it faster ( LIES! ).

Objective -> Install docker inside vagrant that serves nginx static files

Time -> 5 mins

Here is a quick walk-through of what I have done:

1) install virtualbox and install vagrant

2) create a new file called Vagrantfilein your test directory which includes:

# -*- mode: ruby -*-
# vi: set ft=ruby :

# Config
server_ip = “10.1.1.34"
server_memory = “512" # MB
hostname = “docker.dev” …

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store