Feature Request: add command 'delete' to buildx imagetools?
Open
Nobody has claimed this yet.
area/imagetools
kind/enhancement
- Dominant language
- Go
- Stars
- 4.5k
- Forks
- 682
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 29
Description
While i can find a bunch of curl commands to delete tags from the registry it would be useful if one could do a delete - my use case is like this, where i want to remove temp tags as part of a simple command line based script. The last line is the envisaged command, it would only delete the tag not the image.
C:\"Program Files"\Docker\Docker\DockerCli.exe -SwitchLinuxEngine
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t scyto/nodelink:latest --push -f Dockerfile.linux .
C:\"Program Files"\Docker\Docker\DockerCli.exe -SwitchWindowsEngine
docker build -t scyto/nodelink:windows.amd64 -f Dockerfile.windows.amd64 .
docker push scyto/nodelink:windows.amd64
C:\"Program Files"\Docker\Docker\DockerCli.exe -SwitchLinuxEngine
docker buildx imagetools create --append -t scyto/nodelink:latest scyto/nodelink:windows.amd64
docker buildx imagetools delete scyto/nodelink:windows.amd64
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the existing buildx imagetools commands and their registry interactions. Define the delete command's behavior from the example: remove the specified tag while leaving the image intact, then verify it works for the multi-platform workflow shown.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100