Comments (2)
@JackZhai2018 sorry, I don't get you. Is it deleting all tags by mistake?
from docker-reg-tool.
hi Donal, yes, the delete option is actually deleting all tags in a repo instead of a single tag.
Having for example:
curl -ksS -u user:psswd https://<registry>:<port>/v2/demo/image/tags/list | jq
{
"name": "demo/image",
"tags": [
"signed",
"unsigned"
]
}
executing
./docker_reg_tool https://<registry>:<port> delete demo/image unsigned
DIGEST: sha256:e97314d049510baa9d1021ac848f0826be1310cc870e6bd57aa3ef41cf8a0cc4
Successfully deleted
Automatically if I now check /tags/list:
curl -ksS -u user:psswd https://https://<registry>:<port>/v2/demo/image/tags/list | jq
{
"name": "demo/image",
"tags": null
}
from docker-reg-tool.
Related Issues (14)
- listing does not work on Ubuntu 18 HOT 4
- curl DELETE unsupported HOT 2
- Might want to mention that `REGISTRY_STORAGE_DELETE_ENABLED` needs to be `true` HOT 3
- Cannot iterate over null HOT 3
- Failed to delete: 405 HOT 4
- Change ~ to $HOME HOT 1
- Command not found HOT 1
- Delete successfully but total size of registry data still equal before delete HOT 2
- Delete repo tag HOT 1
- insecure registry and list restricted to first 100 entries HOT 6
- Create Docker image for docker-reg-tool HOT 2
- ~/.docker/config.json cannot have the protocol specified HOT 1
- conditional binary operator expected HOT 2
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-reg-tool.