Learn Vagrant from Scratch : Sharing the Vagrant images

Sharing the Vagrant images

Vagrant sharing is an option provide by Vagrant to share your server around the world. for example you can find laravel box with all the setup of laravel to start developing. With sharing you will be able to run the server and other people around the world can observe the changes that you are making in your product.

For sharing, you need to have an account on Hashicrop’s Atlas. After creating the account you will have credentials for the account now run this command and login to vagrant in terminal

vagrant login

and enter your account credentials. After loging in you can share the server using

vagrant share

When you run the command you will get a URL that will be used for sharing. When you put this url in browser you will be able to see the same server page that you were able to see in you localhost. Everyonw with the url will be able to see your server.

Thus we learned about vagrant and how to do various task using.

 


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.