Bootstrap FreeKB - Kong Community Edition (KongCE) - Docker container command line
Kong Community Edition (KongCE) - 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

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


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