In order to remove an image or multiple images on your local Docker Desktop, you can make use of the Command Line (or Terminal on macOS) and make use of the docker rm command,
Example:First let us do a docker images -a to see all the images that we have locally,
% docker images -a
REPOSITORY TAG IMAGE ID CREATED SIZE
alpine latest a6215f271958 2 months ago 5.29MB
alpine edge 578ac1b1a970 3 months ago 5.27MB
As you can see I have two Linux Alpine images with tag latest and edge.
Docker remove image command
To docker remove an image, make use of the command, docker images rm <Image ID>
% docker image rm a6215f271958
Untagged: alpine:latest
Untagged: alpine@sha256:bc41182...95ee852a8d9730fc2ad
Deleted: sha256:a6215f271958c...8a6a26b4f6
Deleted: sha256:5d3e3...99f06a9772
Docker remove multiple images at once command
To remove multiple images at once, you can pass multiple Image IDs separated by a space along with the docker image rm command.
Example:% docker image rm a6215f271958 578ac1b1a970

Read more: https://docs.docker.com/engine/reference/commandline/image_rm/
Have Questions? Post them here!
- How to docker remove a container when it exits
- Install Python on Alpine Linux - Docker
- How to Rename Docker Image with none TAG and REPOSITORY?
- Remove all stopped containers in Docker using prune command
- [Fix] Docker Error response from daemon: manifest for :latest not found: manifest unknown
- [fix] Error response from daemon: conflict unable to remove repository reference ubuntu container is using its referenced image
- [Docker] Install Python3 on Alpine Linux
- Unable to find image docker latest locally
- How to Stop/Cancel/kill docker image pull
- How to know the Docker Engine Version
- [fix] Docker: OCI runtime exec failed unable to start container process
- [Solution] Alpine Docker apt-get: not found
- Install and Run Cassandra on Docker Desktop
- Install node on Alpine Linux Docker
- How to Copy files from Docker Container to Host System
- Install the minimal Linux on Docker (only 5 mb Alpine Linux)
- How to stop and start a docker container
- Docker - Error response from daemon: You cannot remove a running container
- Open Docker Desktop from macOS Terminal
- How to check installed docker version command
- How to know the Docker Sandbox ID of a Container Network?
- [fix] docker: Error response from daemon: dial unix docker.raw.sock: connect: no such file or directory.
- [Docker] Install Git on Alpine Linux
- Docker MySQL Compose File with Volume Example
- [fix] Docker: Alpine Linux - /bin/sh: bash: not found
- [fix] Microsoft Error Code 0x80004005 - Unspecified error - Microsoft
- How to change default browser on Mac Monterey - MacOS
- Create Symbolic Link using Terminal Command - MacOS
- Fibonacci series from 1 to 500 table - Html
- Unable to find image docker latest locally - Docker
- Spring Boot: Setting up JDBCTemplate with MySQL Tutorial - Java
- Health Status Page for OpenAI ChatGPT or GPT 4 - HowTos
- SharePoint Online REST API not returning all list items and limit to only 100 rows - SharePoint