Many docker images and containers that you install on your Synology NAS following various guides on the web leave traces that should be deleted so that future installations may work flawlessly. Here on mariushosting you can find a varied list of docker images to install on your NAS, but, if you ever decide to uninstall them for whatever reason, remember that it is a good practice to uninstall them properly so that, in the future, you do not experience any problems if you want to install them back from scratch.
Install Portainer using my step by step guide. If you already have Portainer installed on your Synology NAS, skip this STEP.
First of all, always remember to stop all the containers you no longer need. If you don’t stop them first, you can’t delete them.
Log into Portainer. In the menu on the left click on Images. You will find a list of images marked in orange with the word “Unused” – these are the images that you no longer use. Select all the images with the Unused tag and click the red Remove button. Follow the instructions in the image below.
Once you click the red remove button, all images tagged Unused will be automatically deleted.
Navigate to “Networks” and make sure there are no other networks created by images you no longer use. Select and click “Remove” for all networks of images you no longer use.
Navigate to “Volumes“. Select all volumes tagged “Unused” and click the red Remove button. Follow the instructions in the image below.
Once you click the red Remove button, all volumes created by various images you no longer use will be automatically deleted.
Remove all folders in File Station that you no longer use, or have used in the past to run specific docker images. Just delete them and recreate from scratch if you need a specific image to be reinstalled again.
Note: Portainer becomes a must-have if you have Docker installed on your Synology NAS.
Note: One of the main advantages of removing images you no longer use is that it will free up space on your NAS.
This post was updated on Thursday / May 26th, 2022 at 7:09 PM