DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Directory
starrocks-fe logo

starrocks-fe

packaged by Chainguard

Last changed
Start with 5 free container images

Catalog Starter gives your team 5 production-grade container images, free forever, with no contract or sales call. Sign up with your work email.

Try Starter for free
Tags
Overview
Comparison
Provenance
Specifications
SBOM
Vulnerabilities
Advisories

Chainguard Container for starrocks-fe

StarRocks FE and BE for the StarRocks MPP database, where FE manages metadata, client connections and query planning and BE stores data and runs queries.

Chainguard Containers are regularly-updated, secure-by-default container images.

Download this Container Image

For those with access, this container image is available on cgr.dev:

docker pull cgr.dev/ORGANIZATION/starrocks-fe:latest

Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.

Compatibility Notes

This module publishes two images per StarRocks release stream:

  • cgr.dev/ORGANIZATION/starrocks-fe, comparable to the upstream starrocks/fe-ubuntu image. FE manages metadata, client connections, and query planning.
  • cgr.dev/ORGANIZATION/starrocks-be, comparable to the upstream starrocks/be-ubuntu image. BE stores data and runs queries in shared-nothing mode.

Both images keep the entrypoint scripts the StarRocks Kubernetes Operator runs. They differ from upstream in these ways:

  • FE lives under /usr/share/starrocks/fe and BE under /usr/lib/starrocks/be. /opt/starrocks/fe and /opt/starrocks/be link to them, and the operator's fe_entrypoint.sh, fe_prestop.sh, be_entrypoint.sh, and be_prestop.sh scripts sit at the upstream paths under /opt/starrocks.
  • JAVA_HOME is /usr/lib/jvm/java-17-openjdk instead of /lib/jvm/java-17-openjdk.
  • The images leave out vim and net-tools, which upstream installs by default. The FE image also leaves out curl, pigz, and rclone, and the BE image gdb (and curl before 4.1). BusyBox provides less, tree, vi, and netstat. The -dev variants add a package manager for troubleshooting.
  • fe/arthas holds the complete Arthas distribution, not only arthas-boot.jar, so Arthas attaches without downloading its core from the internet on first use.
  • The BE image ships the Java runtime, not the JDK, so JDK tools such as jcmd and jstack are not available in it.
  • The BE image does not include the Datadog profiler (be/datadog/ddprof), so with ENABLE_DATADOG_PROFILE=true BE starts without it. The FE image includes the Datadog Java agent.
  • The BE image runs in shared-nothing mode only. It leaves out the /opt/starrocks/cn link and the CN entrypoint scripts, because CN nodes need shared-data mode.
  • No FIPS variant is available.

Like upstream, the images run as root by default, and the starrocks user (UID and GID 1000) owns /opt/starrocks and the FE and BE installations, so the operator can also run FE and BE as a non-root user. The 4.0 and later images run tini as their entrypoint, as upstream does.

Getting Started

Start one FE and one BE on a Docker network. BE registers itself with FE through be_entrypoint.sh, as the operator does:

docker network create starrocks
docker run -d --name starrocks-fe --hostname starrocks-fe-0 \
  --network starrocks --network-alias starrocks-fe-0 \
  -e LOG_CONSOLE=1 -e POD_FQDN=starrocks-fe-0 \
  -p 9030:9030 -p 8030:8030 \
  cgr.dev/ORGANIZATION/starrocks-fe:latest \
  /opt/starrocks/fe_entrypoint.sh localhost
docker run -d --name starrocks-be --network starrocks -e LOG_CONSOLE=1 \
  cgr.dev/ORGANIZATION/starrocks-be:latest \
  /opt/starrocks/be_entrypoint.sh starrocks-fe-0

After SHOW BACKENDS lists the BE as Alive: true, create a table and query it with the MySQL client in the FE image:

docker exec starrocks-fe mysql -h 127.0.0.1 -P 9030 -u root -e 'SHOW BACKENDS\G'
docker exec starrocks-fe mysql -h 127.0.0.1 -P 9030 -u root -e '
  CREATE DATABASE demo;
  CREATE TABLE demo.kv (k INT, v VARCHAR(32))
    DUPLICATE KEY(k) DISTRIBUTED BY HASH(k) BUCKETS 2
    PROPERTIES ("replication_num" = "1");
  INSERT INTO demo.kv VALUES (1, "a"), (2, "b"), (3, "c");
  SELECT * FROM demo.kv ORDER BY k;'

To deploy a cluster on Kubernetes, use the kube-starrocks chart from the StarRocks Kubernetes Operator. Create a values file that points the operator, FE, and BE at Chainguard's images:

cat > values.yaml <<EOF
operator:
  starrocksOperator:
    image:
      repository: cgr.dev/ORGANIZATION/starrocks-operator
      tag: latest
starrocks:
  starrocksFESpec:
    image:
      repository: cgr.dev/ORGANIZATION/starrocks-fe
      tag: latest
  starrocksBeSpec:
    image:
      repository: cgr.dev/ORGANIZATION/starrocks-be
      tag: latest
EOF

Then install the chart:

helm repo add starrocks https://starrocks.github.io/starrocks-kubernetes-operator
helm install starrocks starrocks/kube-starrocks -n starrocks --create-namespace -f values.yaml

Use the same release stream tag, such as 4.1, for FE and BE.

Configuration

This values file runs FE and BE as the starrocks user. With runAsNonRoot, the operator sets each pod's user, group, and filesystem group to 1000, which owns the installations in these images:

cat > values.yaml <<EOF
operator:
  starrocksOperator:
    image:
      repository: cgr.dev/ORGANIZATION/starrocks-operator
      tag: latest
starrocks:
  starrocksFESpec:
    image:
      repository: cgr.dev/ORGANIZATION/starrocks-fe
      tag: latest
    runAsNonRoot: true
  starrocksBeSpec:
    image:
      repository: cgr.dev/ORGANIZATION/starrocks-be
      tag: latest
    runAsNonRoot: true
EOF

FE reads /opt/starrocks/fe/conf/fe.conf and BE reads /opt/starrocks/be/conf/be.conf. With the operator, set options through starrocksFESpec.config and starrocksBeSpec.config in the chart values. Each value replaces the whole file, so start from the config block in the chart's default values and change only the lines you need.

BE takes its memory limit from the container's cgroup, so set starrocksBeSpec.resources.limits.memory to the memory BE may use.

Documentation and Resources

What are Chainguard Containers?

Chainguard's free tier of Starter container images are built with Wolfi, our minimal Linux undistro.

All other Chainguard Containers are built with Chainguard OS, Chainguard's minimal Linux operating system designed to produce container images that meet the requirements of a more secure software supply chain.

The main features of Chainguard Containers include:

For cases where you need container images with shells and package managers to build or debug, most Chainguard Containers come paired with a development, or -dev, variant.

In all other cases, including Chainguard Containers tagged as :latest or with a specific version number, the container images include only an open-source application and its runtime dependencies. These minimal container images typically do not contain a shell or package manager.

Although the -dev container image variants have similar security features as their more minimal versions, they include additional software that is typically not necessary in production environments. We recommend using multi-stage builds to copy artifacts from the -dev variant into a more minimal production image.

Need additional packages?

To improve security, Chainguard Containers include only essential dependencies. Need more packages? Chainguard customers can use Custom Assembly to add packages, either through the Console, chainctl, or API.

To use Custom Assembly in the Chainguard Console: navigate to the image you'd like to customize in your Organization's list of images, and click on the Customize image button at the top of the page.

Learn More

Refer to our Chainguard Containers documentation on Chainguard Academy. Chainguard also offers VMs and Libraries — contact us for access.

Trademarks

This software listing is packaged by Chainguard. The trademarks set forth in this offering are owned by their respective companies, and use of them does not imply any affiliation, sponsorship, or endorsement by such companies.

Licenses

Chainguard's container images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" tag of this image:

    For a complete list of licenses, please refer to this Image's SBOM.

    Software license agreement

    Compliance

    Chainguard Containers are SLSA Level 3 compliant with detailed metadata and documentation about how it was built. We generate build provenance and a Software Bill of Materials (SBOM) for each release, with complete visibility into the software supply chain.

    SLSA compliance at Chainguard

    This image helps reduce time and effort in establishing PCI DSS 4.0 compliance with low-to-no CVEs.

    PCI DSS at Chainguard

    Category
    Application

    The trusted source for open source

    Talk to an expert
    PrivacyTerms

    Product

    Chainguard ContainersChainguard LibrariesChainguard VMsChainguard OS PackagesChainguard ActionsChainguard Agent SkillsIntegrationsPricing
    © 2026 Chainguard, Inc. All Rights Reserved.
    Chainguard® and the Chainguard logo are registered trademarks of Chainguard, Inc. in the United States and/or other countries.
    The other respective trademarks mentioned on this page are owned by the respective companies and use of them does not imply any affiliation or endorsement.