starrocks: docker run starRocks,FE service query port is NOT alive yet
Steps
- pull imags
docker pull starrocks/allin1-ubuntu:latest - run container
docker run -p 19030:9030 -p 18030:8030 -p 18040:8040 -itd --name starrocks docker.io/starrocks/allin1-ubuntu:latest - connect failed
mysql -P19030 -h127.0.0.1 -uroot --prompt="StarRocks > "
got docker container log:
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.
But the server’s memory is sufficient.
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)
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=unconfinedwhen usingdocker runas suggested by docker document.