1

I am running a container in localhost with Python Django (python manage.py runserver 0.0.0.0:80) and I want to access this service in my wifi network...

When I run the server locally (no Docker), it works fine, I can put the IP of my computer in my phone's browser and access the web app.

My PC is not Windows Pro, and I run the Docker Toolbox version which use the VirtualBox to do the Docker stuff. For this reason, the container IP address is 192.168.99.100, and my PC IP is 192.168.0.5

How can I access the docker machine from my phone??

Bilaal Rashid
  • 828
  • 2
  • 13
  • 21
Jackson D
  • 130
  • 6
  • Possible duplicate of [How can I make other machines on my network access my Docker containers (using port mapping)?](https://stackoverflow.com/questions/35206177/how-can-i-make-other-machines-on-my-network-access-my-docker-containers-using-p) – David Maze Feb 21 '19 at 10:57

1 Answers1

0

if u have mapped ur conatiner port to some host port, then you should be able to access your app using your the ip of your computer in your wifi network and the mapped port.

prisar
  • 3,041
  • 2
  • 26
  • 27