This repository was created with the aim of testing Docker easily. Moreover, I have created a Wiki 📝 in order to practice with this great tool.
- Download Vagrant : Link
- Download Virtualbox: Link
sudo apt -y install git --> Ubuntu/Debian
sudo yum -y install git --> CentOS/RedHat
git clone https://github.com/rdrgporto/docker-vagrant.git
-
Download Git Bash and install it:
git clone https://github.com/rdrgporto/docker-vagrant.git
Vagrant is configured with two kinds of network, internal and public. You can use public network in order to login via any kind of SSH client (Putty, MobaXterm, Termius):
cd /home/rdrgporto/docker-vagrant/
vagrant up
If everything was fine, login via SSH:
vagrant ssh
vagrant up : start vm
vagrant destroy : remove/delete vm
vagrant ssh : connect to vm
vagrant halt : shutdown vm
vagrant provision : relaunch Ansible