Interview Prep/Docker/Registry, pull and push errors

Push is very slow or fails with `received unexpected HTTP status: 502 Bad Gateway` or `413 Request Entity Too Large`.

IntermediateTroubleshootingRegistry, pull and push errors
Answer

Likely causes → Reverse proxy in front of the registry limits body size or times out on big layers.

Diagnose → Proxy logs; curl -v upload test.

Fix → Nginx: client_max_body_size 0; proxy_request_buffering off; proxy_read_timeout 900; and required headers for registry.

Prevent → Use registry-specific proxy config templates.

All Docker questions Roadmap: Docker & containers

More on Registry, pull and push errors