Docker container error Waiting for headers

1

The error happens when a Docker container does not have access to the internet and being "peeled"
without almost any application, text editor, you can not solve the problem inside.

I leave the solution because it took me a lot of work to find it, after several hours.

    
asked by Juanjoo Tocino 11.08.2018 в 01:46
source

1 answer

2

The solution is :

docker-compose start  
docker network ls  
docker network host (Suele ser host después de realizar con LS)

The solution is quite simple, but at the beginning it can be confusing since you try to make a apt-get install of some application and it remains "marked" with the message 0% Waiting for headers.

I hope someone else will find it useful:)

    
answered by 11.08.2018 в 01:46