Docker Community Forums

Share and learn in the Docker community.

Error pulling image configuration: received unexpected HTTP status: 502 Bad Gateway

I’m following step by step the tutorial, but i’m stuck with this error when i try to build my image

" docker build --tag=friendlyhello .
Sending build context to Docker daemon 5.12kB
Step 1/7 : FROM python:2.7-slim
2.7-slim: Pulling from library/python
fc7181108d40: Pulling fs layer
8c60b810a35a: Pulling fs layer
d207b275197c: Pulling fs layer
63184f224d60: Waiting
error pulling image configuration: received unexpected HTTP status: 502 Bad Gateway "

Any ideas?