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

Type command to import new box, to your machine:

vagrant box add mynewbox

Leave a Reply

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