-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbasics-commands
More file actions
16 lines (14 loc) · 865 Bytes
/
basics-commands
File metadata and controls
16 lines (14 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
vagrant machine:-
-----------------
vagrant init : Creates the vagrant file.
vagrant up : Starts the machine.
vagrant status : Shows the status of guest machine.
vagrant ssh <host-name> : To ssh to particular vagrant host (server).
vagrant reload : Is used to already existed machine if we change any configurations in " vagrant init" file.
vagrant halt : It will shutdown the machine gracefully.
vagrant suspend : it will resume the machine at that instant and when will run vagrant up, machine will up from the resumed state.
vagrant destroy : Destroys the guest machine.
vagrant-box:-
-------------
vagrant box list : Lists vagrant boxes
vagrant box remove <box-name> : It will remove vagrant boxes