BACKEND·중요도 6·2026. 06. 13.·Dev.to

Django Debug Toolbar + Docker: The Missing INTERNAL_IPS Problem

── KO ──────────────────

Docker에서 Django Debug Toolbar가 보이지 않는 문제 해결.

Django 프로젝트를 Docker에서 실행할 때 Django Debug Toolbar가 나타나지 않는 문제가 있었습니다. 이는 Internal IPs 설정과 관련이 있으며, Docker는 요청을 예상과 다른 IP에서 처리하기 때문입니다. 따라서 Django의 설정에서 제대로 작동하도록 INTERNAL_IPS를 수정해야 합니다. 이 문제를 해결하기 위해 요청의 실제 IP를 확인하는 방법을 소개했습니다.


── EN ──────────────────

Resolving the issue of Django Debug Toolbar not appearing in Docker.

There was an issue with the Django Debug Toolbar not showing up when running a Django project inside Docker. This is related to the INTERNAL_IPS settings as Docker may handle requests from unexpected IPs. To resolve this issue, it's important to adjust the INTERNAL_IPS settings correctly. The article also introduces a method to check the actual IP address making the requests.

원문 보기 →목록으로