Learn Vagrant from Scratch : Starting and SSH into vagrant box

Starting and SSH into vagrant box

You have all the setup for now and you can boot you vagrant box by giving the command

vagrant up

This will take sometime around 1 minute to boot your system. After that you can login to your system using the following command

vagrant ssh

This is the simple ssh and all the commands will run like the same.

If you are done with the machine run the command

vagrant destroy

Vagrant will terminate the use of any resources by the virtual machine.

If you want to remove all the box files you can try running

vagrant box remove

 


Gaurav Yadav

Gaurav is cloud infrastructure engineer and a full stack web developer and blogger. Sportsperson by heart and loves football. Scale is something he loves to work for and always keen to learn new tech. Experienced with CI/CD, distributed cloud infrastructure, build systems and lot of SRE Stuff.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.