So, I want to create an image for my app using
docker build .
But I forgot to give it a name and the name became <none>
. When I tried to remove this with docker image rm <none>
The output is
bash: syntax error near unexpected token `newline'
How to remove this anonymous image?
List images with
There you will find an image ID for each image, e.g:
You can delete the image by image ID like this: