Remove old Docker images

  Administration > System administration > Server >

Remove old Docker images

Previous pageNext page Print this topic! Mail us feedback on this topic!

Your system stores old Docker images from previous versions of Jama. These old images will use up storage space and may cause indexing to fail. To avoid this, you must periodically remove old Docker images. The following steps outline how to remove old Docker images using the command line.

1.At the command line, run the following command to list out all Docker images on your server.

sudo docker images

2.Determine which images should be removed based on the image IDs found in the IMAGE ID column.




3.Run the following command, where IMAGE_ID is the ID of the image you want to remove.

sudo docker rmi IMAGE_ID

Note: If you try to remove an image that is currently in use, you will get an error when running the above command.