When running vagrant on network that was connected to VPN, I was seeing that vagrant provisioning of docker containers had problems with pulling some of the updates for vagrant box because it wasn’t able to identify how to get to archive.ubuntu.com with an error

This is what helped me and you can try to add this line to the Vagrantfile somewhere before you do docker provisioning:

This way, vagrant will attempt to use external DNS service, which in my case is 8.8.8.8.