You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not surprising, ubuntu 14.04 is no longer supported by docker.
Let's see if we can get it updated to work though, a couple ideas. The sample could be branched to work with a newer version of ubuntu (you can do that independently and share back and I'd merge it into a branch for others to use)... I want the end point of the code to remain as is to represent the course (like a book edition)...
You could contribute that PR and I'll review/merge to give you credit OR I can mod the files... this might get tricky and if so let me know so I can keep the mods with the spirit of the sample
~/Documents/training/consul-course » cat Vagrantfile
1 Vagrant.configure("2") do |config|
2 config.vm.box = "wesmcclure/ubuntu1404-docker"
3
4 config.vm.define "consul-server" do |cs|
5 cs.vm.hostname = "consul-server"
6 cs.vm.network "private_network", ip: "172.20.20.31"
7 end
8
9 end
Error:
vagrant@consul-server:~$ sudo apt-get update -y
Err http://security.ubuntu.com trusty-security InRelease
Err http://security.ubuntu.com trusty-security Release.gpg
Could not resolve 'security.ubuntu.com'
Err http://us.archive.ubuntu.com trusty InRelease
Err http://us.archive.ubuntu.com trusty-updates InRelease
Err http://us.archive.ubuntu.com trusty-backports InRelease
Err http://us.archive.ubuntu.com trusty Release.gpg
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com trusty-updates Release.gpg
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com trusty-backports Release.gpg
Could not resolve 'us.archive.ubuntu.com'
Ign https://apt.dockerproject.org ubuntu-trusty InRelease
Ign https://apt.dockerproject.org ubuntu-trusty Release.gpg
Ign https://apt.dockerproject.org ubuntu-trusty Release
Err https://apt.dockerproject.org ubuntu-trusty/main amd64 Packages
Could not resolve host: apt.dockerproject.org
Ign https://apt.dockerproject.org ubuntu-trusty/main Translation-en_US
Ign https://apt.dockerproject.org ubuntu-trusty/main Translation-en
Reading package lists... Done
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty/InRelease
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-backports/InRelease
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/InRelease
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Could not resolve 'security.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-trusty/main/binary-amd64/Packages Could not resolve host: apt.dockerproject.org
W: Some index files failed to download. They have been ignored, or old ones used instead.
Any ideas? Thank you.
The text was updated successfully, but these errors were encountered: