pantsel / konga

More than just another GUI to Kong Admin API
MIT License
4.3k stars 826 forks source link

Konga UI unaccessible #408

Open lakshmisinghls01 opened 5 years ago

lakshmisinghls01 commented 5 years ago

I can see that Konga container is up but still UI is not accessible.

[bssuser@tgctbd1 docker]$ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 41ac5f9651a6 pantsel/konga "/app/start.sh" 2 days ago Up 27 hours 0.0.0.0:1337->1337/tcp konga

Also, please find the command executed to bring up the container:

docker run -d -p 1337:1337 --link kong:kong --name konga -e "NODE_ENV=development" pantsel/konga WARNING: IPv4 forwarding is disabled. Networking will not work.

pbaderia01 commented 5 years ago

Hey @lakshmisinghls01 please use --network=host along with the docker run command and your issue should be resolved. Please refer this: https://docs.docker.com/network/network-tutorial-host/ for more details. In your case the command will be modified to

docker run -d -p 1337:1337 --link kong:kong --name konga --network host -e "NODE_ENV=development" pantsel/konga

Thanks!