Derbychap wrote:
Thank you for the great reply. I have followed your instructions and wondered if you could tell me if this looks correct now? ...
Yes. And no.
Yes, it does appear that you have erased the drive (APPLE...Media) which now has a single untitled volume, which is fine.
But I see now there is Container disk2, but it is not where it should be on the list. APFS containers should reside within the drive device and ** should list them as an indented item below that device. It looks like you have a second partition on that device, but we're gonna fix that. See my pic here as an example of a properly formatted ssd.

To fix this, you'll again select the device (APPLE...Media) and then click the 'Erase' once more.
Make sure that APFS is selected for the Format and GUID Partition Map is selected as the Scheme.
When done, it should look similar to what you see in my pic, with different names of course.
Exactly which year iMac is this you are working on, please?