•  Home
  •  Dashboard
  •  Company
    • About Us
    • Blog
    • Careers
    • Contact Us
    • Data Centers
    • Looking Glass
    • Network
    • Reseller
  •  Hosting Services
    • Infrastructure
      • iColocation
    • Compute
      • cMetal
      • cVirtual
    • Storage
      • sObject
      • sBlock
    • Networking
      • nCDN
      • nIP Transit
      • nWavelength
    • Protection
      • pBackup
      • pDDoS
  •  Solutions
    • Ecommerce
    • Finance
    • Gaming
    • Hosting
    • Management
    • Security
    • System Integrator
  •  Support
    • Community
    • Knowledge Base
    • Open A Ticket
  •  USA & Canada: 800-933-1517
  •  International: 626-549-2801
  •  Email: sales@psychz.net
  • Services
    • new-colocation-header-img
      Infrastructure
      • iColocation
    • new-compute-header-img
      Compute
      • cMetal
      • cVirtual
    • new-storage-header-img
      Storage
      • sObject
      • sBlock
    • new-networking-header-img
      Networking
      • nCDN
      • nIP Transit
      • nWavelength
    • new-protection-header-img
      Protection
      • pBackup
      • pDDoS
  • Solutions
    • Ecommerce
    • Security
    • Gaming
    • Hosting
    • Management
    • Finance
    • System Integrator
  • Dashboard

Docker remove all images

  • Home
  • Client
  • Qa Forum
  • Docker remove all images

Posted By: Manh | 1 Replies | Last Reply On: Oct 05, 2017 06:25:21

How to remove all images for Docker? 

Psychz - Girish

Votes: 0Posted On: Oct 05, 2017 06:25:21
 

Docker is designed in such a way that it uses containers and makes the applications easy to create, deploy, and run.
Using a container, one can package up an application with libraries and deploy it as one package. By doing so, the application will run on any other Linux machine regardless of any customized settings that machine might have.
 
But as you work with Docker, you may end up accumulating an excessive number of unused images, containers, and data volumes that will consume disk space and affect the output.
Hence in order to clean up the old unused Docker images, you can use the command line to perform this task.
 
The following command will show you how to remove all the images of Docker.
(Note : All the Docker images on a system can be listed by adding -a to the docker images command)

 

List:
 
docker images -a
 
Remove: ( Once you're sure you want to delete them all, you can add the -q flag to pass the Image ID to docker rmi)
 
docker rmi $(docker images -a -q)

Was this reply helpful?

Related topics

  • Smart guide to managing Docker container
  • How To Run Kubernetes on Psychz Networks Bare Metal Servers
  • Docker Remove All Containers
  • Guide to establish a GRE Tunnel and BGP peering session on MikroTik RouterOS
  • remove a credit card from method of payment
  • Docker Container vs VM
  • OpenShift vs. Docker
  • LXD vs Docker
  • Docker container vs Image
  • Firewalld commands for CentOS 7 and CentOS 8
  • How to add Image Optimization
  • Basic and useful Linux commands
  • CDN Hosting and why Every website should utilize a CDN
  • Dedicated Server vs. VPS vs. Cloud: Which Hosting Solution Is Right for You?
  • GDPR and its impact on hosting industry!
Copyright © 2025 Psychz Networks,
A Profuse Solutions Inc Company
Hosting Services
Infrastructure
  • iColocation
Compute
  • cMetal
  • cVirtual
Storage
  • sObject
  • sBlock
Networking
  • nCDN
  • nIP Transit
  • nWavelength
Protection
  • pBackup
  • pDDoS
Company
  • About Us
  • Blog
  • Careers
  • Contact Us
  • Data Centers
  • Looking Glass
  • Network
  • Reseller
Policies
  • Acceptable Usage Policy
  • Privacy Policy
  • Service Level Agreement
  • Terms and Conditions
Support
  • Community
  • Knowledge Base
  • Open A Ticket
Get In Touch
  • Psychz Networks,
    A Profuse Solutions Company
    611 Wilshire Blvd #300
    Los Angeles,California 90017
    USA
  • US/Canada: 800-933-1517
  • International: 626-549-2801