Delete image dockers from remote repo

I have the following

docker registry: http: // myPrivateRegistry: 5000

: myRepo

Image: myImage

I clicked this image on a remote repo as follows

docker push http://myPrivateRegistry:5000/myRepo/myImage

How to remove this image from the "remote repo" not only locally? docker rmi http://myPrivateRegistry:5000/myRepo/myImagecancels the image but does not delete it from the remote repo

+4
source share
2 answers

After some googling time, I found that you can use the Curl command to delete images, for example:

curl -X DELETE registry-url/v1/repositories/repository-name/
+2
source

As far as I can see, this is still discussed in issue 422

API, (read: s3).

.
, , .

, , , VFS, .

210

API, .

https://github.com/docker/distribution/issues/422#issuecomment-114963170

0

Source: https://habr.com/ru/post/1614487/


All Articles