Check and remove the images present in Docker Registries

Delete the images present in Docker

Check the images present in Docker:

#docker images

sunny@Oracle1:/$ docker images
REPOSITORY                                       TAG         IMAGE ID       CREATED        SIZE
container-registry.oracle.com/database/express   21.3.0-xe   c273dde6b184   4 months ago   11.2GB
container-registry.oracle.com/database/express   latest      c273dde6b184   4 months ago   11.2GB

Remove the docker images from Docker Repositories

#docker rmi image-name:tag

#docker rmi image-id

sunny@Oracle1:/etc$ docker rmi container-registry.oracle.com/database/express:latest
Untagged: container-registry.oracle.com/database/express:latest

Verify the docker images again:

sunny@Oracle1:/etc$ docker images
REPOSITORY                                       TAG         IMAGE ID       CREATED        SIZ
container-registry.oracle.com/database/express   21.3.0-xe   c273dde6b184   4 months ago   11.2GB
Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.