packaged by Chainguard
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 freeStarRocks 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.
For those with access, this container image is available on cgr.dev:
Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.
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:
/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.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.jcmd and jstack are not available in it.be/datadog/ddprof), so with ENABLE_DATADOG_PROFILE=true BE starts without it. The FE image includes the Datadog Java agent./opt/starrocks/cn link and the CN entrypoint scripts, because CN nodes need shared-data mode.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.
Start one FE and one BE on a Docker network. BE registers itself with FE through be_entrypoint.sh, as the operator does:
After SHOW BACKENDS lists the BE as Alive: true, create a table and query it with the MySQL client in the FE image:
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:
Then install the chart:
Use the same release stream tag, such as 4.1, for FE and BE.
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:
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.
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.
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.
Refer to our Chainguard Containers documentation on Chainguard Academy. Chainguard also offers VMs and Libraries — contact us for access.
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.
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 agreementChainguard 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 ChainguardThis image helps reduce time and effort in establishing PCI DSS 4.0 compliance with low-to-no CVEs.
PCI DSS at Chainguard