You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.
With this setup, I'm able to access myapp.dev running inside the Docker container, but my app is unable to connect to port 80 or 443 in the outside world.
Removing Prax's PREROUTING rules fixes the Docker container's networking while still allowing local access to myapp.dev. Are the PREROUTING rules necessary for anything crucial? If I've only sacrificed xip.io support or something, that's fine with me.
The PREROUTING rules are required for remote access to your server with transparent redirections to the 20559 (http) and 20558 (https) ports. I'm using it combined with Prax for tablets and mobile access. You can remove them. You may also remove the local rules and always deal with the ports.
BTW: I don't have any routing problems using LXC (which Docker is built on) and Vagrant.
When using Prax to provide DNS for a local Docker container, my
iptables -t nat -L
looks like:With this setup, I'm able to access
myapp.dev
running inside the Docker container, but my app is unable to connect to port 80 or 443 in the outside world.Removing Prax's PREROUTING rules fixes the Docker container's networking while still allowing local access to
myapp.dev
. Are the PREROUTING rules necessary for anything crucial? If I've only sacrificedxip.io
support or something, that's fine with me.related: #90
possibly related: moby/moby#5577
The text was updated successfully, but these errors were encountered: