I'm running Vagrant on Windows. My Vagrantfile kicks a simple Dockerfile:
FROM phusion/baseimage:latest

If I vagrant shh in and run
apt-get update

I hit:

Err http://archive.ubuntu.com trusty InRelease

Err http://archive.ubuntu.com trusty-updates InRelease

Err http://archive.ubuntu.com trusty-security InRelease

Err http://archive.ubuntu.com trusty Release.gpg
  Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com trusty-updates Release.gpg
  Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com trusty-security Release.gpg
  Could not resolve 'archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease

W: Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease

W: Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/trusty-security/InRelease

W: Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Could not 
resolve 'archive.ubuntu.com'

W: Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg  Could 
not resolve 'archive.ubuntu.com'

W: Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg  Could 
not resolve 'archive.ubuntu.com'

W: Some index files failed to download. They have been ignored, or old ones 
used instead.


Seems like a connection issue. Is there something I need to do in the 
Vagrant or Dockerfile in order for this connection to work?

You can see my Vagrantfile & Dockerfile here:
https://github.com/dkirrane/vagrant-docker-sample

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to