Skip to content

Multi-platform container image command-line utility.

License

Notifications You must be signed in to change notification settings

cnrancher/hangar

Repository files navigation

Hangar

Go Report Card GitHub release GitHub pre-release License

English | 简体中文

Hangar is a command line utility for container images with the following features:

  • Multi-platform container images.
  • Copy container images between registry servers.
  • Export container images as archive files and import them into image repositories.
  • Sign container images with sigstore key-pairs.
  • Scan container image vulnerabilities.

Why use hangar?

  • Hangar does not require any container runtime (daemon) to copy container images.
  • Hangar is cross-platform and works in all Unix-like operating systems.
  • Hangar supports both docker images and OCI images.
  • Hangar supports copying/saving/loading/signing/scanning images in parallel to increase speed.
  • Hangar is designed to export container images as archive files and import them into image repositories in Air-Gapped environments.

Getting started

For documentation, visit the Hangar Documentation.

Contributing

Hangar is open-source and any issues or pull requests are welcomed if you have any suggestions while using Hangar.

License

Copyright 2025 SUSE Rancher

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.