StarRocks Tool Box for Cloud Native Container Environments #25805
Closed
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When you are working in cloud native container environments, you might need tools to help you execute queries, administrator and debug StarRocks. You can use this container image to help you with those task. https://hub.docker.com/r/atwong/starrocks-tool-box
Run
docker run -itd --name=toolbox atwong/starrocks-tool-box
Lets test the StarRocks instance.
We get the IP of the StarRocks instance.
Run
docker inspect starrocks | grep "IPAddress"
Get a shell within the toolbox container.
Run
docker exec -it toolbox /bin/bash
Then run the mysql client and some SQL commands. Let's assume 172.17.0.2 is the IP of the StarRocks container.
Run
mysql -P9030 -h172.17.0.2 -uroot --prompt="StarRocks > "
Run
select current_version();
Beta Was this translation helpful? Give feedback.
All reactions