WICHTIG: vagrant Kommandos muessen aus dem vagrant Verzeichnis heraus gestartet werden!
cd vagrant
- Status:
vagrant status
Beispiel Ausgabe:
Current machine states:
foreman.betadots.training running (virtualbox)
docker.betadots.training not created (virtualbox)
apache.betadots.training not created (virtualbox)
host.betadots.training not created (virtualbox)
This environment represents multiple VMs. The VMs are all listed
above with their current state. For more information about a specific
VM, run `vagrant status NAME`.
-
Starten:
vagrant up <vm name>
-
Suspend:
vagrant suspend <vm name>
-
Resume:
vagrant resume <vm name>
-
Loeschen:
vagrant destroy -f <vm name>
-
Login:
vagrant ssh <vm name>
-
Reprovisionieren:
vagrant reload --provision <vm name>