I’m using the instructions on Dockerhub to run Kong in a Docker container (linked to a Postgres container). I’m using Docker version 17.09.1-ce, build 19e2cf6 on a Mac.
I can see the logs fine with
docker logs kong but nothing is being written to
/dev/stderr. I found that
/usr/local/kong/ didn’t exist, but even after creating that and stopping/restarting the container, I still see no logs.
The docker logs look like this:
172.17.0.1 - - [22/Feb/2018:03:09:49 +0000] "GET /plugins/ HTTP/1.1" 200 624 "-" "PostmanRuntime/6.4.1" 172.17.0.1 - - [22/Feb/2018:03:10:07 +0000] "GET /consumers/ HTTP/1.1" 200 419 "-" "PostmanRuntime/6.4.1"
I see here that kong needs to run as nginx, but it looks like that CMD is included in the alpine:latest dockerfile, so I’m not sure what’s wrong here!