<@U0A71G31CDV> Can starrocks run ARM binaries with...
# questions-and-troubleshooting
m
@Rocky Can starrocks run ARM binaries without docker? Or docker is a must
r
Yes, StarRocks can run ARM binaries without Docker on your host machine. However, there is a specific way you must obtain them because the standard download page currently only provides pre-packaged
.tar.gz
files for x86 (amd64). How to get ARM binaries without running Docker in production: The official method to get ARM-compatible binaries is to extract them from the StarRocks "artifacts" Docker image onto your host machine. You only need Docker for this one-time extraction step. 1. Pull the artifacts image (choose your OS preference, e.g., Ubuntu or CentOS):
Copy code
bash
    docker pull starrocks/artifacts-ubuntu:3.3.3
2. Extract the binaries to your host: Run this command to copy the pre-built ARM binaries out of the container and into your current directory:
Copy code
bash
    docker run --rm starrocks/artifacts-ubuntu:3.3.3 \
        tar -cf - -C /release . | tar -xvf -
3. Run manually: Once extracted, you will see the standard
fe
and
be
directories. You can then dispatch these to your ARM servers and start them manually using
./bin/start_fe.sh
or
./bin/start_be.sh
just like on x86, without needing Docker installed on those production nodes. Alternative: Compile from Source If you cannot use Docker at all (even for extraction), you can compile StarRocks from source directly on your ARM machine. There are specific scripts for this: * Linux ARM: Use the
build.sh
script in the root directory. * macOS ARM (Apple Silicon): There is a dedicated
build-mac/
directory with specific scripts (
build_thirdparty.sh
,
build_be.sh
) to handle ARM64 compilation. Summary * Docker is NOT a must for runtime. * Docker IS currently the official delivery vehicle for pre-compiled ARM binaries (via the
artifacts
image). * Binary Tarballs: Direct
.tar.gz
downloads for ARM are not yet provided on the official website (as of version 3.3). Referencesdeployment/prepare_deployment_files.mddevelopers/build-starrocks/Build_in_docker.mddevelopers/mac-compile-run-test.md