Skip to content

Latest commit

 

History

History
61 lines (45 loc) · 1.4 KB

README.md

File metadata and controls

61 lines (45 loc) · 1.4 KB

Docker Workshop

This is a simple workshop designed to learn the Docker fundamentals. you can do the excersices in your machine installing the docker engine from the official Docker site. If you don't want to install docker in your machine you can use the vagrant machine contained in this repository.

Donate

If you find useful this material, don't hesitate in invite me a coffee.

paypal

Vagrant

This Vagrant is a very simple implementation for the Docker Workshop.

USE

You need to have installed VirtualBox and Vagrant in your system

Install VirtualBox Guest Additions Plugin

$ vagrant plugin install vagrant-vbguest

Start The virtual machine

$ vagrant up

Connect to the virtual machine via ssh:

$ vagrant ssh

Test the Docker configuration (You should see Some Docker images Example: Ubuntu, Busybox, MySQL)

$ sudo docker images

Logout vagrant (This command is used inside the virtual machine)

$ logout

Stop the virtual machine

$ vagrant halt

Restart the virtual machine

$ vagrant reload

Add new dependencies to the virtual machine

$ vagrant provision

Remove completely

$ vagrant destroy