In this hands-on lab, you will take on the role of a DevOps Engineer working for OmniCorp. The Dev team needs Vagrant installed on one of their dev servers. The server already has Docker installed. Your mission is to install Vagrant and create a Vagrantfile that will install Ghost Blog.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Install Vagrant
Install Vagrant:
yum -y install https://releases.hashicorp.com/vagrant/2.0.3/vagrant_2.0.3_x86_64.rpm
- Create a Vagrantfile
Create a Vagrantfile:
Vagrant.configure("2") do |config| config.vm.provider "docker" do |d| d.image = "ghost:4.10.0" d.ports = ["80:2368"] end end
- Deploy a Ghost Blog