Vagrant cheat sheet

In this tutorial, I have written some command for the Vagrant cheat sheet. The Vagrant is building an isolated virtual environment for the app. Vagrant the essential for DevOps Roles.

Vagrant cheat sheet

Vagrant add box

Link download vagrant box here

$ vagrant box add Centos7 https://github.com/holms/vagrant-centos7-box/releases/download/7.1.1503.001/CentOS-7.1.1503-x86_64-netboot.box
Vagrant cheat sheet
Creating your project
$ mkdir your_projects
$ cd your_projects
$ vagrant init Centos7

Vagrant run

$ vagrant up
$ vagrant ssh

Vagrant stop

Stopping Virtual Machine using one of the command following

$ vagrant ssh # then: sudo shutdown -h now
$ vagrant suspend
$ vagrant destroy # stop running machine Vagrant is managing and destroys all resources

Website Vagrant https://www.vagrantup.com/

Conclusion

Thought the article, You can use “Vagrant cheat sheet as above . I hope will this your helpful.

About HuuPV

My name is Huu. I love technology and especially Devops Skill such as Docker, vagrant, git so forth. I likes open-sources. so I created DevopsRoles.com site to share the knowledge that I have learned. My Job: IT system administrator. Hobbies: summoners war game, gossip.
View all posts by HuuPV →

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.