starrocks: docker run starRocks,FE service query port is NOT alive yet

Steps

  1. pull imags docker pull starrocks/allin1-ubuntu:latest
  2. run container docker run -p 19030:9030 -p 18030:8030 -p 18040:8040 -itd --name starrocks docker.io/starrocks/allin1-ubuntu:latest
  3. connect failed mysql -P19030 -h127.0.0.1 -uroot --prompt="StarRocks > "

got docker container log:

image

Entered the Docker image and checked the fe.out log and Java commands, reporting insufficient memory for any operation.The following is the hs_err_pid.log file.

image image

But the server’s memory is sufficient.

image image

Question

How should I continue to troubleshoot this issue?

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

have a live meeting with @yusiwen123 , it appears that the failure of java start, caused by the seccomp profile enabled on the host. check the following doc:

https://docs.docker.com/engine/security/seccomp/ and https://github.com/adoptium/containers/issues/215#issuecomment-1142046045

fixed it by adding additional command line option --security-opt seccomp=unconfined when using docker run as suggested by docker document.