Update a Vagrant Box?

前端 未结 1 780
逝去的感伤
逝去的感伤 2021-02-02 06:07

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条回答
  • 2021-02-02 07:10

    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.

    0 讨论(0)
提交回复
热议问题