Question
My droplet is not connected to the internet
I am not sure what is going on but it seems my droplet is not connected to the internet.
I tried to run
sudo apt-get update
and here is the result:
Err http://mirrors.digitalocean.com xenial InRelease
Err http://mirrors.digitalocean.com xenial-updates InRelease
Err http://mirrors.digitalocean.com xenial-backports InRelease
Err http://security.ubuntu.com xenial-security InRelease
Err http://mirrors.digitalocean.com xenial Release.gpg
Temporary failure resolving 'mirrors.digitalocean.com'
Err http://mirrors.digitalocean.com xenial-updates Release.gpg
Temporary failure resolving 'mirrors.digitalocean.com'
Err http://security.ubuntu.com xenial-security Release.gpg
Temporary failure resolving 'security.ubuntu.com'
Ign https://apt.dockerproject.org ubuntu-trusty InRelease
Err http://mirrors.digitalocean.com xenial-backports Release.gpg
Temporary failure resolving 'mirrors.digitalocean.com'
Ign https://packagecloud.io xenial InRelease
Ign https://apt.dockerproject.org ubuntu-trusty Release.gpg
Ign https://packagecloud.io xenial Release.gpg
Ign https://apt.dockerproject.org ubuntu-trusty Release
Ign https://packagecloud.io xenial Release
Ign https://apt.dockerproject.org ubuntu-trusty/main amd64 Packages/DiffIndex
Ign https://packagecloud.io xenial/main amd64 Packages/DiffIndex
Ign https://apt.dockerproject.org ubuntu-trusty/main i386 Packages/DiffIndex
Ign https://packagecloud.io xenial/main i386 Packages/DiffIndex
Ign https://packagecloud.io xenial/main Translation-en
Ign https://apt.dockerproject.org ubuntu-trusty/main Translation-en
Err https://packagecloud.io xenial/main amd64 Packages
Could not resolve host: packagecloud.io
Err https://packagecloud.io xenial/main i386 Packages
Could not resolve host: packagecloud.io
Err https://apt.dockerproject.org ubuntu-trusty/main amd64 Packages
Could not resolve host: apt.dockerproject.org
Err https://apt.dockerproject.org ubuntu-trusty/main i386 Packages
Could not resolve host: apt.dockerproject.org
I also have dokku installed and when I tried to rebuild my app, here is the result:
# dokku ps:rebuild
# docker: Error response from daemon: open /etc/resolv.conf: no such file or directory.
I also tried pinging to google and here is the result:
# ping google.com
# ping: unknown host google.com
Any solutions?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×