Coming from the dockge-in-jailmaker setup, I got used to purging / pruning unused docker images to free up space & to ensure a ‘clean’ build for any given container or stack.
The TrueNAS shell command for this is:
jlmkr shell docker
Then, once in the docker shell:
docker system prune -a
Is there a similar way to do this in EE? I see the container mgmt interface under Apps > Configuration > Manage Container Images, but it doesn’t quite look as easy / automated as the docker prune command was at “cleaning” unused stuff.
You can also go to Apps Configuration > Manage Container Images rather than running docker prune in shell. Just select all images, click batch Delete, Confirm and delete. As long as you don’t click Force, Docker will automatically clear only the inactive images.
this indicates that all installed apps need to be running … i wonder if there is a “safe” command to run which autom. detects the latests used image and delete all the other/unused
That’s just how image pruning works in docker. It’s generally safe though because it will just pull the required images again when you start the stopped containers. It doesn’t remove your configuration or data.
Agreed, the presentation could be clearer there. I think it is an issue of the UI not currently having a concept of which images are in use during that first confirmation step.
This ONLY deletes the Images listed!
If you only show 20 per pages it only tries to delete the 20 first…
So don’t forget to show 100 and do the same on page 2.