Advertisement
Guest User

Untitled

a guest
Aug 17th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. vagrant コマンド
  2.  
  3.  
  4. 追加済みvagrant Boxリスト確認
  5. ```
  6. vagrant box list
  7. ```
  8. Boxリストから既存Box削除
  9. ```
  10. vagrant box remove [既存ボックス名]
  11. ```
  12. 新規Box追加
  13. ```
  14. vagrant box add [ボックス名] [ボックスパス(URL)]
  15. ```
  16. 全てVM状態確認
  17. ```
  18. vagrant global-status
  19. ```
  20.  
  21.  
  22.  
  23. VM初期化
  24. ```
  25. vagrant init [既存ボックス名]
  26. ```
  27. VM起動
  28. ```
  29. vagrant up
  30. ```
  31. VMへSSHログイン
  32. ```
  33. vagrant ssh
  34. ```
  35. VMを再起動
  36. ```
  37. vagrant reload
  38. ```
  39. VMをシャットダウン
  40. ```
  41. vagrant halt
  42. ```
  43. VM状態確認
  44. ```
  45. vagrant status
  46. ```
  47. VM削除
  48. ```
  49. vagrant destroy
  50. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement