Clean up every week (off by default) frees the old versions and the build cache every Sunday at 4 in the morning. Images and volumes are only ever deleted here, after a list.
The Storage widget also shows Old app versions with a Free up button.
Apps
Free space: Docker cleanup
Free the space apps leave behind: old versions, build cache, unused images and volumes, folders of removed apps.
Settings, System, Docker cleanup, Open (owner only) lists what apps left on the disk. Installed apps are never touched, stopped ones included.