FreeKB - Kong Docker container command line
Kong - Docker container command line

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


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter e9443 in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |