必应池
Home / developer-tools / Docker Container Exits Immediately with Exit Code 137 - Fix Nginx 502 Bad Gateway with Docker Socket-DNS Probe Finished NXDOMAIN: Quick Fixes

Docker Container Exits Immediately with Exit Code 137 - Fix Nginx 502 Bad Gateway with Docker Socket-DNS Probe Finished NXDOMAIN: Quick Fixes

Updated 2026-07-28 14:48:04developer-tools
Docker Container Exits Immediately with Exit Code 137 - Fix Nginx 502 Bad Gateway with Docker Socket-DNS Probe Finished NXDOMAIN: Quick Fixes
Likely symptom
Likely cause
Safe rollback

Verification route

  • Repeat the original action, not only a simplified test case.
  • Restart the app or reload the service after configuration changes.