Comments (3)
I use docker client and same error:
$ docker manifest create --insecure -a 192.168.0.4:30003/ubuntu:18.04 192.168.0.4:30003/amd64/ubuntu:18.04 192.168.0.4:30003/arm64v8/ubuntu:18.04 192.168.0.4:30003/arm32v7/ubuntu:18.04
Created manifest list 192.168.0.4:30003/ubuntu:18.04
$ docker manifest push --insecure 192.168.0.4:30003/ubuntu:18.04
failed to mount blob amd64/ubuntu@sha256:b4d5da65030561ad56f9538bd3adf22d42bb92296988c22d312853dc079bfb4f to 192.168.0.4:30003/ubuntu:18.04: unknown: bad request: invalid repository name: ubuntu
$ docker manifest inspect --insecure 192.168.0.4:30003/amd64/ubuntu:18.04
{
"schemaVersion": 2,
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
"config": {
"mediaType": "application/vnd.docker.container.image.v1+json",
"size": 3313,
"digest": "sha256:b4d5da65030561ad56f9538bd3adf22d42bb92296988c22d312853dc079bfb4f"
},
"layers": [
{
"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
"size": 26713582,
"digest": "sha256:6c5bd54c6d89dd69606bd062936eb16ffde24cf5d52cb66bb57989c1cf841609"
},
{
"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
"size": 860,
"digest": "sha256:b19b8af32973956e8e43bb3df43cb9b611b14021752275f1dd7d12ee575bd036"
},
{
"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
"size": 192,
"digest": "sha256:6f9c7b436cb34b766a15be052bc2bfe568c309f26176437a3a08241927fa0b2f"
}
]
}
I setup registry with harbor 2.1, is there something import i miss?
from manifest-tool.
I think what you're missing is that Harbor always includes a "project" name, and you are trying to push without that -- if you instead try something like 192.168.0.4:30003/library/ubuntu:18.04
, it will probably work.
from manifest-tool.
It is the root cause, seem harbor has no plan to support this: goharbor/harbor#10648
from manifest-tool.
Related Issues (20)
- Provide a way to add a tag to an existing image HOT 2
- Push support for types.OCI HOT 5
- FR: add `ocify` to convert between OCI and Docker mediaTypes
- unsupported os/arch or os/arch/variant combination: linux/amd64/v8 HOT 5
- `invalid character 'c' looking for beginning of value ` HOT 1
- Nexus Docker Registry not support. HOT 2
- Error pushing manifest list/index HOT 8
- Image doesnt include docker-credential-ecr-login for AWS credential helper HOT 4
- Cannot include an image in a manifest list/index which is already a multi-platform image HOT 6
- New release for Golang CVE HOT 9
- Scope issue on push with multiple sub-repositories in GCR HOT 10
- [request] Support cred helpers in the mplatform/manifest-tool container HOT 5
- [feature request] allow to display OCI image manifest HOT 1
- --raw flag doesn't show the same data as non-raw output HOT 2
- I
- manifest-tool can't merge images with buildit attestation enabled: Cannot include an image in a manifest list/index which is already a multi-platform image HOT 3
- github.com/docker/docker/cli/config no longer exists, but is used by v2/cmd/manifest-tool/main.go HOT 2
- Guide or Usage for AWS Private ECR HOT 4
- `manifest-tool -v` return 2.1.2 on instead 2.1.3
- Multiple targets HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from manifest-tool.