title: How to delete a docker image in dockerhub with a particular tag or set of tags using CLI?
body: <p>I have docker images like this</p>
  
  <pre><code>user/image:1.0
  user/image:2.0
  user/image:2.1
  .
  .
  user/image:2.9
  user/image:3.0
  </code></pre>
  
  <p>I want to delete images from user/image:2.1 to user/image:2.9 USING CLI by calling docker api.</p>
  
  <p>Basically I want to delete an image from CLI by calling api. The above case is an example.</p>