Comments (6)
Hi @tylkotroszke,
thanks for reporting this bug. I was able to reproduce it by the following steps:
- Create a few docker images locally with the same content but different tags:
$ docker pull busybox
$ docker tag busybox localhost:5000/some/image:tag1
$ docker tag busybox localhost:5000/some/image:tag2
$ docker tag busybox localhost:5000/some/image:tag3
$ docker push localhost:5000/some/image:tag1
$ docker push localhost:5000/some/image:tag2
$ docker push localhost:5000/some/image:tag3
- Opening the Docker Registry Browser and delete the tag "tag1"
- Tags "tag2" and "tag3" are also gone
When I tried the same with tags having different contents I was not able to reproduce.
After a bit of research I've learned that there is currently no API to delete a single tag in the registry.
The endpoint I'm using is designed to delete the image referenced by the tag and not the tag reference itself. So basically this issue could only be solved by a new endpoint in the registry itself.
Source: https://serverfault.com/a/872336
For now the only thing I could do is to change the warning text and mention that deleting the tag will also delete also delete all tags referencing the same image-version.
What do you think?
Best, Klaus
from docker-registry-browser.
I see, you are right we were checking that on image with same content. It would be nice to have such a information when trying to delete tag. It was really confusing when all tags were deleted that why we created issue :)
from docker-registry-browser.
It would be nice to have such a information when trying to delete tag.
👍 Sure will add it.
from docker-registry-browser.
I've added the warning message now. Will be available as v1.2.2
tag or in latest
soon.
from docker-registry-browser.
Hi, this seems to be supported now (https://serverfault.com/questions/872332/easy-way-to-remove-a-tag-from-a-private-docker-registry/872336#872336 / https://github.com/opencontainers/distribution-spec/blob/v1.0/spec.md#deleting-tags), could this be implemented?
from docker-registry-browser.
@u1735067 I just had a look and the feature isn't yet available in the latest release of the registry (2.8.1). They don't seem to add new features in 2.x. Let's wait for 3.0 then.
from docker-registry-browser.
Related Issues (20)
- Authenticate User Access HOT 4
- add a more compact "skin"
- Web UI Login HOT 2
- read/write support by nginx
- Can't browse OCI images HOT 6
- cannot delete tags with cesanta/docker_auth HOT 6
- No Java Script Runtime in Container HOT 12
- ExecJS can't find a runtime HOT 23
- Document using the app in a subPath HOT 1
- Version sorting HOT 1
- This crashes on my server HOT 3
- Tag list cannot be configured to sort by `version` HOT 1
- add sort by push date HOT 1
- Cannot read *.key file in 1.6.0 docker image HOT 4
- Error with multi-platform images HOT 10
- Token based auth with Keycloak as IDP HOT 6
- Third page is not loaded HOT 4
- Error Displaying Tag Info HOT 1
- no reply to browser when using token authentication via keycloak HOT 8
- Feature request - Policy to remove Old image 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 docker-registry-browser.