diskutil ap deleteContainer disk2 "Macintosh HD"
Started APFS operation
Deleting APFS Container with all of its APFS Volumes
Unmounting Volumes
Unmounting Volume "Macintosh HD" on disk2s1
The volume "Macintosh HD" on disk2s1 couldn't be unmounted because it is in use by process 0 (kernel)
Error...