Docker Community Forums

Share and learn in the Docker community.

Cannot do wget/curl/git/apt-get to internet from within docker container


(Devmonkey87) #1

I wonder if somebody got stuck on the same issue:

Im running Docker compose within an Ubuntu server machine and when I execute “wget/ curl/ etc” from inside the apache container, the downloading thread gets stuck with the “loading headers” message and does not download anything.

It feels like the container cannot access to the internet and so, the wget command does not fetch from the repositories.

I also have this configuration inside
“Options”: {
“”: “true”,
“”: “true”,
“”: “true”,
“”: “”,
“”: “docker0”,
“”: “1500”
Anyone faced the same problem?


(Qingshuibudong) #2

any solution? same question.