Kong Community Edition (KongCE) - Docker container command line

by
Jeremy Canfield |
Updated: January 12 2021
| Kong Community Edition (KongCE) articles
On the server that contains the Kong container, use the docker container ls command to get the ID of the Kong container.
docker container ls
Let's say the ID of the Kong container is d937372c09ab9.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d937372c09ab9 kong_kong:2.0.1 "/docker-entrypoin..." 6 minutes ago Up 13 days 8000-8001/tcp, 8443-8444/tcp
Use the docker exec command to get a shell in the Kong container. You can now issue commands in the container.
docker exec -it <container id> sh
Did you find this article helpful?
If so, consider buying me a coffee over at