dockerfile / ubuntu

Ubuntu Dockerfile for trusted automated Docker builds.
http://dockerfile.github.io/#/ubuntu
MIT License
459 stars 1.28k forks source link

Can't access internet #17

Open apaj opened 4 years ago

apaj commented 4 years ago

A container created using this Dockerfile can't access internet:

root@cf81115deee8:~# ping google.com
bash: ping: command not found
root@cf81115deee8:~# apt-get install ping
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ping

whereas other docker containers I have on the same physical machine successfully use apt-get. Is there anything else one should do to get online from within this container?

ritvik-maker commented 3 years ago

idk bruh

sajjadahmed0309 commented 2 years ago

@apaj https://help.ubuntu.com/stable/ubuntu-help/net-wireless-connect.html.en