Update a Vagrant Box?

2019-03-11 00:19发布

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条回答
来,给爷笑一个
2楼-- · 2019-03-11 01:05

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.

查看更多
登录 后发表回答