Last changed
Be the first to hear about exciting product updates, critical vulnerability alerts, compare alternative images, and more.
Sign UpSpark provides high-level APIs in Scala, Java, Python, and R, and an optimized engine that supports general computation graphs for data analysis.
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.
While Chainguard's Spark FIPS image is comparable to the official Spark image on Docker Hub, Chainguard's image is also FIPS 140-3 compliant. Chainguard's image includes only the minimum set of dependencies needed to run Spark.
This image contains Bouncy Castle crypto libraries for FIPS.
The FIPS certified version of Bouncy Castle (CMVP [#4743]) is compliant with the FIPS 140-3 standard when used in accordance with the [Bouncy Castle Security Policy].
This image also ships with a validated redistribution of the OpenSSL's FIPS provider module. For more on FIPS support in Chainguard Images, consult the guide on FIPS-enabled Chainguard Images on Chainguard Academy.
Before getting up and running with Spark FIPS, you'll need to create a BCFKS KeyStore:
You can now use keytool to view the KeyStore:
After the KeyStore has been generated, Spark will need to be configured to use it. As an example, you may set the properties below:
Please consult the official documentation for configuring Spark for guidance on what properties are best for your environment.
To create a TrustStore and import and trust an existing CA certifcate you can also use keytool:
Configuring Spark for use with your TrustStore can be done in your config file as with the KeyStore above. For example, the properties below may be set:
If you'd like to use a TrustStore type other than BCFKS, you'll need to set the environment variables below when running Spark:
Start by creating a network for your Spark nodes:
Then we can deploy Spark FIPS with Docker:
This will throw you into Spark's interactive shell.
We can submit a Spark application using another node via spark://localhost:4440
:
You should now be up and running with Spark FIPS!
Chainguard Containers are minimal container images that are secure by default.
In many cases, the Chainguard Containers tagged as :latest
contain only an open-source application and its runtime dependencies. These minimal container images typically do not contain a shell or package manager. Chainguard Containers are built with Wolfi, our Linux undistro 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 -dev
variant.
Although the -dev
container image variants have similar security features as their more minimal versions, they feature additional software that is typically not necessary in production environments. We recommend using multi-stage builds to leverage the -dev
variants, copying application artifacts into a final minimal container that offers a reduced attack surface that won’t allow package installations or logins.
To better understand how to work with Chainguard Containers, please visit Chainguard Academy and Chainguard Courses.
In addition to Containers, Chainguard offers VMs and Libraries. Contact Chainguard to access additional products.
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 container images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" version of this image:
Apache-2.0
BSD-2-Clause
BSD-3-Clause
Bitstream-Vera
FTL
GCC-exception-3.1
GPL-2.0-only
For a complete list of licenses, please refer to this Image's SBOM.
Software license agreementThis is a FIPS validated image for FedRAMP compliance.
This image is STIG hardened and scanned against the DISA General Purpose Operating System SRG with reports available.
Learn more about STIGsGet started with STIGs