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. Docker
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();