Vagrant export / import your vagrant box

Sometimes, we have important updates on our box, and it’s good to renew it.

Type this command to export box, where Vagrantfile is located:

vagrant package --output new-updated.box

Type command to import new box, to your machine:

vagrant box add mynewbox mynew.box

Leave a Reply

Your email address will not be published. Required fields are marked *