Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 894 Bytes

README.md

File metadata and controls

62 lines (43 loc) · 894 Bytes

Hello World!

  1. Ensure the required box is installed.
vagrant box list # 'envimation/ubuntu-xenial-docker' should appear.
  1. Ensure you are in directory step-1.
pwd # check current directory
ls  # and it should contain just the README.md
  1. Generate Vagrantfile.
vagrant init envimation/ubuntu-xenial-docker
  1. Check before firing up.
vagrant status # status should be "not created"
  1. Bring it on.
vagrant up
vagrant status # status change to "running"
  1. Connect into it.
vagrant ssh default
  1. Do something with the machine.
# ... do something ...
exit
  1. Halt it.
vagrant halt
vagrant status # status change to "poweroff"
  1. Clean up when not needed anymore, free up space.
vagrant destroy
vagrant status # status change back to "not created"

Zhan.Shi @ 2017