錯(cuò)誤:
DisallowedHost: Invalid HTTP_HOST header: '192.168.1.249:8000'.
You may need to add u'192.168.1.249' to ALLOWED_HOSTS.
修改settings.py:
ALLOWED_HOSTS = [u'host IP']
參考:
https://yeasy.gitbooks.io/docker_practice/content/compose/django.html