Zero Trust tunnel is working with the Windows version but not with the Docker image
Hello.
I set up a tunnel and installed
cloudflared
with the windows installer. Everything works fine, but I need to automate the the setup process with Docker. I just followed the instructions.
I tried to run the docker image in 2 different ways, but none worked. The status of the tunnel is healthy, but it gives a 502 Bad Getaway
error:
This is how I tried to run the cloudflared image
By running it the following way:
The error is a bit different when trying to reach the domain:
It looks like the docker image does not see the localhost, even if I used the --net=host
flag1 Reply
You’d be correct with docker image not seeing localhost. Localhost for docker refers to the container itself and not the host machine.