packaged by Chainguard
Contact our team to test out this image for free. Please also indicate any other images you would like to evaluate.
Verdaccio is a lightweight private npm proxy registry that hosts your own packages and caches the ones you install from upstream registries.
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.
The verdaccio image is a drop-in replacement for the upstream Verdaccio image. It keeps the launch contract that upstream image established, so an existing docker run, Compose file, or Helm release keeps working when you swap the reference:
The entrypoint, command, environment variables, working directory, port 4873, and runtime user 10001 are all unchanged, as is the ownership of /verdaccio/storage and /verdaccio/conf, so a volume written by the upstream image stays readable and writable after the switch. The uid_entrypoint shim is kept too, so platforms that assign arbitrary UIDs, such as OpenShift, continue to work.
There are three intentional differences:
node:24-alpine base image.npm, npx, and corepack are not installed. The upstream image inherits them from its Node.js base image, but Verdaccio does not need a package manager to serve a registry. See the note below if you install plugins.openssl is not installed. Upstream includes it so that operators can generate a TLS key pair inside the container, but Verdaccio never invokes it, and Node uses the system OpenSSL libraries. Generate certificates outside the container, or use the -dev variant, which includes a shell and a package manager.Install plugins with a package manager in a build stage and copy them in, which also pins them into the image rather than leaving them to be re-fetched at runtime:
Verdaccio resolves a plugin named in its configuration against the plugins directory, mapping a key such as auth-memory to verdaccio-auth-memory on disk. To add one without rebuilding, mount a directory with that same layout at /verdaccio/plugins.
Verdaccio stores package tarballs, metadata, and its htpasswd file under /verdaccio/storage. Mount a volume there for anything beyond a throwaway registry, otherwise every published package is lost when the container is replaced.
Start a registry with the shipped default configuration:
Confirm it is serving:
Expected result:
The web UI is served on the same port. Open localhost:4873 in a browser to browse published packages, search, and sign in.
Publishing requires an account. The default configuration lets anyone register one:
Publish a package from a project directory:
Install it back through the registry:
To persist packages across container replacements, mount a volume at /verdaccio/storage. Replace the container started above, which still holds the name and the port:
Verdaccio reads a single YAML file, and the default command points at /verdaccio/conf/config.yaml. The shipped default proxies anything it does not hold locally to registry.npmjs.org and caches the result, which is the behavior most teams want from a private registry.
The setting worth changing first is which packages stay private. Scoping your organization's packages to a pattern with no proxy key means Verdaccio never asks a public registry about them, which closes off dependency-confusion attacks where a public package of the same name shadows yours:
Two details in that file matter. max_users: -1 disables self-registration once you have created the accounts you need, so the registry does not accept new users from anyone who can reach it. The @my-org/* block has no proxy key, so those packages are served only from local storage.
Mount it over the default and start the container:
The listen address is assembled from environment variables, so you can change the port without replacing the command:
To deploy on Kubernetes, use the Verdaccio Helm chart with the image overridden:
The chart runs the pod as UID 10001, which is the user this image already ships, so no securityContext override is needed.
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:
GCC-exception-3.1
GPL-3.0-or-later
ISC
MIT
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