Unable to remove a container disk on MacBook Pro SSD

disk-utilityhigh sierrapartition

I am trying to remove a container disk and exFat partition on the GUID partitioned SSD on my Macbook Pro 13" 128GB early 2015. It got created by BOOT CAMP ASSISTANT. It is taking up 29GB of space on my disk. There is also a small exFat partition that I cannot remove. In disk utility the option to delete this partition and container disk is greyed out. When I press partition when I have selected my SSD and click on the 29GB container disk, the – button is greyed out, and in the bottom right corner it says "You cannot remove this volume because the previous volume cannot be resized". I have tried doing this when booted into Recovery mode 'Command + R'

Here are some screenshots:
enter image description here

enter image description here

EDIT: I formatted 'container disk 1' as 'untitled' and as exFAT out of curiosity and it deleted the container disk, but it added another volume called 'untitled' under the 'APPLE SSD SM0128…' which cannot be deleted (greyed out remove button).

Best Answer

In your screen shot I can see 2 additional containers just bellow disk1, these must be removed first. Start by removing the containers going clockwise from macOS. You will then be able to remove disk1 last.