dockerdocker-run

How to run the docker image with <none> tag


I have a docker image with <none> tag.enter image description here

I want to run the hello-world image with TAG <none>. How can I do that?


Solution

  • In order to run a dangling image, you first need to tag that image. You can do this by using image ID.

    For example:

    docker tag [IMAGE_ID] [REPOSITORY]:[TAG]
    

    Now you can run that image with the tag you just defined.