Update a Vagrant Box?

走远了吗. 提交于 2019-12-03 07:26:11

问题


I have updated a box vagrant box update and now when I run vagrant up it boots into the old box. How can I update my box to use the newer version?


回答1:


From the Vagrant docs:

Finally, you can update boxes with vagrant box update. This will download and install the new box. This will not magically update running Vagrant environments. If a Vagrant environment is already running, you'll have to destroy and recreate it to acquire the new updates in the box. The update command just downloads these updates locally.



来源:https://stackoverflow.com/questions/25914383/update-a-vagrant-box

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!