DEV Community

aquila
aquila

Posted on • Updated on

Vagrant commands

Vagrant commands which often use

1/ Initialization
vagrant init

2/ Start&Stop
vagrant up
vagrant halt

3/ Remove vm
vagrant box list (you can see the NAME of envs)
vagrant box remove NAME

4/ Remove whole config file
vagrant global-status (to list env ids)
vagrant destroy [name|id]

5/ Export VM box
vagrant package

6/ Open VM box
vagrant init
vagrant up

Top comments (0)