title: Django through Docker Error: That IP address can't be assigned to
body: <p>I am working on Ubuntu 16.04 VM and trying to run my Django app through Docker container. </p>
  
  <p>I successfully verified that my web is working. It runs if I just command on my machine. 
  However, when I build image with my app and run the container, it does not work.
  my Dockerfile has this CMD at the end.</p>
  
  <pre><code>CMD ["python", "manage.py", "runserver", "my_VM_IP:8000]"
  </code></pre>
  
  <p>It gives me an error </p>
  
  <pre><code>Performing system checks...
  
  System check identified no issues (0 silenced).
  June 21, 2018 - 20:50:44
  Django version 1.11.13, using settings 'datahttptools.settings'
  Starting development server at http://myVMip:8000/
  Quit the server with CONTROL-C.
  Error: That IP address can't be assigned to.
  </code></pre>
  
  <p>I was trying all the possible solutions by googling but I was not able to figure it out.</p>