Docker Community Forums

Share and learn in the Docker community.

Docker kong container not coming up

We have a postgres container that is up and running. When we tried to run following migrations command, it just comes out without any logs (even with -v) and exit code as 4.
/bin/docker run --rm --network=postgres-network -e KONG_DATABASE=postgres -e KONG_PG_HOST=postgres-container -e KONG_PG_DATABASE=postgres -e KONG_PG_USER=kong my-kong:2.0.3 kong migrations list

Are there any pointers on what is return code 4 and how I can find what the issue is?