Skip to content

RikeshKerai/bp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BP

Tasks

  • Spin up a Linux Vagrant box of your choice
  • Configure Vagrant to use Ansible as the provisioner
  • Configure the box with an IP address available to the hosting OS
  • Write playbook/playbooks to: i. Install and start docker ii. Build a docker container based on the official Alpine Linux container (library/alpine:latest) iii. Build the container so that nginx is installed and started iv. Configure nginx to serve out some static “Hello World” content v. Start the container as a micro service vi. At the end of the provisioning the URL to the web page should be available from the hosting OS vii. Write appropriate documentation in the repository to explain how someone cloning it should provision the Vagrant VM and access the web URL serving out the “Hello World”

Prerequisites

  • Install vagrant
  • Setup vagrant networking: i. Select vagrant instance from the vagrant ui ii. select settings>network>nat>advanced iii. change tcp host port to 8888 and tcp guest port to 8080

HOWTO

RESULT

  • Hello World

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published