3

I would like to delete a docker repository from dockerhub, using the command line.

I am using CentOS.

Like the below is used in GUI Docker hub website to delete it (the following picture shows step) enter image description here

  • 6
    I'm voting to close this question as off-topic because it's about a third party website's functionality. – Jeff Schaller Dec 27 '18 at 3:07
  • @JeffSchaller Thanks for your comment, I've changed my question content, hopefully, the quesiton quality is more good than before,thanks again – Willie Cheng Dec 27 '18 at 3:29
  • 2
    The management of a docker repository is specific to docker hub. There are third party tools (eg github.com/amalfra/docker-hub ) which may help with CLI access, but this is not really a "Unix/Linux" related question. – Stephen Harris Dec 27 '18 at 4:09
  • @StephenHarris thanks and please help me how can I do. how can I release this issue to which forum? – Willie Cheng Dec 27 '18 at 4:37
  • You may be able to do it with curl, but something like that will probably end in pain. You will probably loose all of your work. And how often do you do this operation, is it worth automating. See Parito 80 20 rule. 20% of operations will be done 80% of the time. – ctrl-alt-delor Dec 27 '18 at 10:28
0

Although the API allows working with the repos on CLI, to delete a repo you must log in and use the website. https://success.docker.com/article/how-do-i-delete-a-repository

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.