How to export a Vagrant virtual machine to transfer it

前端 未结 7 1238
臣服心动
臣服心动 2021-01-29 17:29

I have a vagrant box up and running (configured with a LAMP stack). I need to transfer it to another PC. How can I export it? I guess that I can get a file (or files) that can b

7条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-29 18:12

    As stated in

    How can I change where Vagrant looks for its virtual hard drive?

    the virtual-machine state is stored in a predefined VirtualBox folder. Copying the corresponding machine (folder) besides your vagrant-project to your other host should preserve your virtual machine state.

提交回复
热议问题