Networking with docker in termux

Question

I'm trying to learn my way around docker and termux on a non rooted samsung s25. This is basic project just to learn limits and hoops to jump through with running VMs.

I followed this to get docker installed, ran the hello world and things seem to be working.

After that, I tried the simple webserver project from here, and after getting some file not found errors, that too seems to be working. However, trying to actually view the page doesn't. Pulling up localhost:8080 hangs forever, and going to <ip>:8080 as listed with ifconfig inside the alpine VM does the same.

What am I doing wrong?

Posted Sep 14, 2025, 2:01 PM UTC

34

Comments aren't archived yet

This post had 4 comments on Reddit. Comments for this period haven't been loaded into the archive yet.