Frequently asked questions
Questions about Hangar
-
Principle of Mirror / Load / Save functions
Hangar uses
skopeoto copy container images from source registry server to destination registry server / local file.It requires
skopeoinstalled when running Hangar.
Common errors
-
Error
this tool does not support template version "va.b.c"The Template Version saved in the compressed package does not match the version supported by the current version.
Please ensure that the version of the tool when saving the image to the compressed package is the same as that of the tool when loading the compressed package by load.
Template Version hangarversionv1.0.0v1.0.0~v1.2.3-rc1v1.1.0v1.3.0~ latest -
Error
manifest unknown: manifest unknown'manifest unknownmeans that the image was not found, please check the image in the image list.Try to use
skopeo inspect docker:// --raw | jqto check whether the Manifest of the image can be obtained. -
Error reporting
unsupported MIME typeThe
mediaTypeformat of the Manifest of the source image is not supported.This tool supports the following types of
mediaType:application/vnd.docker.distribution.manifest.list.v2+jsonapplication/vnd.docker.distribution.manifest.v2+jsonapplication/vnd.docker.distribution.manifest.v1+jsonapplication/vnd.oci.image.manifest.v1+jsonapplication/vnd.oci.image.index.v1+json
You can use
skopeo inspect docker:// --raw | jqto get themediaTypeof the Manifest. -
Error
no image available for specified arch listThe architecture of the image to be copied does not match the architecture specified by the
-aparameter.