Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

230
Views
How to get from Android Emulator to Docker Machine's container?

I have a Windows laptop with Docker Toolbox installed. So my backend services live in docker containers. Also, I have an Android Emulator with client application installed.

I know that I can get from Android Emulator to host's loopback by using 10.0.2.2 address. The problem is, that docker machine has its own address: 192.168.99.100 ( by default ).

How to make this work? Basically, I want to call 192.168.99.100:8080 from the Emulator. It is working well from Postman installed on Windows, but as far as I understand these are completely different networks, and this is the reason that it does not work out of the box.

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Ok I found two solutions:

VirtualBox port forwarding

https://stackoverflow.com/a/36458215/5076865 - After that you can access the docker app via 10.0.2.2:<your_port>

VirtualBox bridged adapter

Open docker-machine setting in VirtualBox and enable the 3rd network adapter and set it to the bridge mode. You should be able to access the docker app via 192.168.99.100:<your_port> directly from emulator.

For me the second solution is better, because I have <your_port> free on my docker host.

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!