Skip to content

A Vagrant VM image which contains Docker latest version, there is a nginx docker container inside which is ready to use ;)

Notifications You must be signed in to change notification settings

BOUSHABAMohammed/vagrant-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant-Docker

Vagrant box with Docker using Ubuntu (bento/ubuntu-20.04).

The box contains a Nginx Docker container already ready to use

How To

Start box
vagrant --installDocker --startNginxDockerContainer up --provsion
Access to Nginx
http://localhost:8080/

Access to the box

You can connect to the box and start creating your own containers, Here is an example :

Connect to the box
vagrant ssh
Hello World
sudo docker run hello-world

Other useful commands

Display docker containers
sudo docker ps -a
Shut down the box
vagrant halt
Destroy the box
vagrant destroy

About

A Vagrant VM image which contains Docker latest version, there is a nginx docker container inside which is ready to use ;)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published