Could not resolve 'archive.ubuntu.com' [14.04.1 LTS]

Indeed, it is. And the problem is os related. Please see my new post: Docker and iptables configuration @startup

In short: on Ubuntu server, the firewall section is loaded AFTER the Docker daemon starts. Since Docker is adding stuff to iptables, these changes get lost during boot-up.