![]() ![]() ![]() Simple :) Shutting Down A Running Vagrant Machine You've done your vagrant up and then jumped on to your shiny new box with vagrant ssh.īut how do you exit your vagrant box, back to your dev machine? The following are the important commands I think all Vagrant users need to know about. ![]() Thin provisioning may work the same for other Providers, but I have no experience with them so can't say for sure. The numbers sound inconsequential given todays hard disk capacities, but if left unchecked, it can add up. However, if you spin up multiple instances of the same box, each one will consume that ~2.5gb minimum, and the box file itself will be ~500mb on average. We will only consume more space - up to 20gb - as we write files to our VM. This is a fancy term for saying that should we ask for a brand new Ubuntu server with a 20gb drive, the underlying file that really contains our server may only use ~2.5gb of space on disk. The virtual machines that Vagrant creates for us, assuming you are using VirtualBox or VMWare, should be thin-provisioned. This is pretty important if you are using a busy laptop with a relatively small hard disk (MBP users, I feel your pain.) In this video we will cover a few commands to manage your Vagrant environment, and recover disk space you may have entirely forgotten about. Before we move on, it's important to keep your Vagrant setup in check. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |