GitLab Commit Virtual is here. Register Now for our 24 hour immersive DevOps experience.
Gitlab hero border pattern left svg Gitlab hero border pattern right svg

Sonatype Nexus Repository vs. GitLab

Sonatype Nexus Repository (available in both OSS and Pro) is a part of the Sonatype Nexus suite. Other products are Nexus Lifecycle, Nexus Auditor, Nexus Firewall, Nexus Platform, and the Nexus Intelligence service.

Both Sonatype and GitLab offer a binary artifact repository and container registry, but Sonatype currently offers a support for more package types.

FEATURES

Built-in Container Registry

GitLab Container Registry is a secure and private registry for Docker images. It allows for easy upload and download of images from GitLab CI. It is fully integrated with Git repository management. (Codefresh will be ending their support for private docker registries as of May 1, 2020

Documentation on Container Registry

Docker image support

Supports storage and retrieval of Docker style containers.

Learn more about the GitLab container registry

Container registry webhooks

Trigger actions after a successful push to a registry to integrate Docker Hub with other services.

Learn more about GitLab registry webhooks

Container registry high availability

Highly available through the use of multiple replicas of all containers and metadata such that if a machine fails, the registry continues to operate and can be repaired.

Learn more about GitLab high availability

Container Registry geographic replication

Supports distributed teams by running multiple registry instances across several regions and syncing between data centers.

Learn more about GitLab replication

Supports private container registries

Offers the ability to have private container registries and repositories

Learn more about GitLab private container registries

SaaS container registry offering

The container registry ia available as a software service.

Learn more about the container registry available on GitLab.com

Self-managed container registry offering

Container registry which is available to be self-installed and self-managed in an organizations data center, co-hosted, or in a chosen cloud provider.

Learn more about self-installing GitLab

Use container registry through REST API

Enables support for automation and integration of container registry through a REST API.

View the GitLab issue.

Use search to find and identify Docker images

Allows users to search their GitLab instance for image names and tags

View the GitLab issue.

Lower the cost of storage for the GitLab Container Registry by running garbage collection

In the context of the Docker registry, garbage collection is the process of removing blobs from the filesystem when they are no longer referenced by a manifest.

Check out the documentation, and get started today.

Use search to find and identify images

Search your group and project’s Container Registry by image name

Learn more about the GitLab Container Registry

Helm chart repository support

Supports storage and retrieval of Helm charts.

View the GitLab issue.

Image Expiration policies

Easily define, manage and update project-level policies to define which images should be removed and preserved. This feature is designed to help you reduce storage costs and prevent important images from being deleted.

Learn more about Image Expiration policies

Leverage virtual package repositories to simplify package management workflows.

A virtual repository is a collection of local, remote and other virtual repositories accessed through a single logical URL.

GitLab Epic detailing the issues required to add this functionality.

Proxy remote package registries for safer, more reliable builds.

For many organizations, it is useful to have a caching proxy for frequently used upstream packages. In the case of CI/CD, the proxy is responsible for receiving a request and returning the upstream package from a registry, acting as a pull-through cache to speed up your pipelines.

Learn more about the Dependency Proxy

Conan (C/C++) Repository

Conan is an open source, decentralized and multi-platform C/C++ Package Manager for developers to create and share native binaries.

Documentation on the Conan Repository

Maven (Java) Repository

GitLab’s Maven repository makes it easier to publish and share Java libraries across an organization, and ensure dependencies are managed correctly. It is fully integrated with GitLab, including authentication and authorization.

Documentation on the Maven Repository

NPM (node) Registry

GitLab’s NPM repository makes it easier to publish and share NPM packages across an organization, and ensure dependencies are managed correctly. It is fully integrated with GitLab, including authentication and authorization.

Documentation on the NPM Registry

NuGet (.NET) Repository

GitLab’s NuGet Repository allows C#/.NET developers to create, publish and share packages using the NuGet client or visual studio.

Documentation on the NuGet Repository

PyPI (Python) Repository

Python developers can set up GitLab as a remote PyPI repository and build, publish, and share packages using the PyPI client or GitLab CI/CD.

Check out the epic for additional details on implementation and timing

RPM (Linux) Repository

This planned feature will enable Linux developers to build, publish and share RPM packages alongside their source code and pipelines.

Check out the issue for additional details on implementation and timing

Debian (Linux) Repository

This planned feature will enable Linux developers to build, publish and share Debian packages alongside their source code and pipelines.

Check out the issue for additional details on implementation and timing

RubyGems (Ruby) Repository

This planned feature will enable Ruby developers to setup GitLab as a remote RubyGems repository and to build, publish and share packages using the command line or GitLab CI/CD. This will also be a valuable feature for GitLab and help with dogfooding

Check out the issue for additional details on implementation and timing

Go Repository

This planned feature will enable Go developers to build, publish and share their packages right alongside their source code and pipelines. This will also be a valuable feature for GitLab and help with dogfooding

Check out the issue for additional details on implementation and timing

Composer (PHP) Repository

This planned feature will enable PHP developers to build, publish and share their packages right alongside their source code and pipelines.

Check out the issue for additional details on implementation and timing

Use the Package Registry through REST API

Enables support for automation and integration of the GitLab Package Registry through a REST API.

Documentation on API

If you feel there are inaccurate statements in this comparison or a tool missing, please edit this page or propose edits by opening an issue. You can also send an email to devopstools@gitlab.com with your suggested edits if you're unable to open an issue or edit this page.

We strive for technical accuracy and will review and update this post for inaccuracies as quickly as possible.

GitLab is the trademark of GitLab, Inc. All other logos and trademarks are the logos and trademarks of their respective owners.

Try GitLab Ultimate risk-free for 30 days.

No credit card required. Have questions? Contact us.

Try GitLab risk-free for 30 days.

No credit card required. Have questions? Contact us.

Gitlab x icon svg