diskutil list internal-bash-3.2# diskutil list internal
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.3 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk2         300.0 GB   disk0s2
   3:                 Apple_APFS Container disk22        200.0 GB   disk0s3
/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +300.0 GB   disk2
                                 Physical Store disk0s2
   1:                APFS Volume MacOS - Data - Donné... 114.7 GB   disk2s1
   2:                APFS Volume Preboot                 169.1 MB   disk2s2
   3:                APFS Volume Recovery                619.6 MB   disk2s3
   4:                APFS Volume VM                      2.1 GB     disk2s4
/dev/disk22 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +200.0 GB   disk22
                                 Physical Store disk0s3
   1:                APFS Volume Clone                   118.0 GB   disk22s1diskutil ap deleteContainer disk2 MacOS-bash-3.2# diskutil ap deleteContainer disk2 MacOS
Started APFS operation on disk2
Deleting APFS Container with all of its APFS Volumes
Unmounting Volumes
Unmounting Volume "MacOS - Data - Données - Données - Données - Données - Données - Data - Data - Data" on disk2s1
Unmounting Volume "Preboot" on disk2s2
Unmounting Volume "Recovery" on disk2s3
Unmounting Volume "VM" on disk2s4
Unmounting Volume "Update" on disk2s6
Deleting Volumes
Deleting Container
Wiping former APFS disks
Switching content types
1 new disk created or changed due to APFS operation
Disk from APFS operation: disk0s2
Finished APFS operation on disk2
Formatting disk0s2 as Mac OS Extended (Journaled) with name MacOS
-bash-3.2#diskutil ap convert disk0s2-bash-3.2# diskutil ap convert disk0s2
Converting the volume on disk0s2 to an APFS Volume on an APFS Container
Started APFS operation on disk0s2 (MacOS)
Converting HFS Volume to an APFS Container which will export one APFS Volume
The target is the Journaled HFS+ volume "MacOS" backed by the GPT partition disk0s2
The target is a macOS system disk
Found APFS EFI driver /usr/standalone/i386/apfs.efi to install into the APFS Container
The target is not encrypted
Unmounting disk0s2
Starting conversion from HFS to APFS
Performing apfs_hfs_convert -x --verbose=0x400 --efi /usr/standalone/i386/apfs.efi /dev/disk0s2
Reporting post-conversion statistics
A problem occurred during conversion from HFS to APFS
APFS Converter exit code is 1
Aborted conversion in commit mode so will restore type
Setting type of disk0s2 to HFS
Changing the physical disk partition type in shared mode
Partition modification attempt count was 1
Not mounting APFS Volume
Exiting conversion operations with error code -69860
Error: -69860: The underlying task reported failure on exit
Underlying error: 1
-bash-3.2#diskutil list/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.3 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk2         300.0 GB   disk0s2
   3:                 Apple_APFS Container disk1         200.0 GB   disk0s3
/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +200.0 GB   disk1
                                 Physical Store disk0s3
   1:                APFS Volume Clone                   118.1 GB   disk1s1
/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +300.0 GB   disk2
                                 Physical Store disk0s2
   1:                APFS Volume MacOS - Données         73.9 GB    disk2s1
   2:                APFS Volume Preboot                 344.6 MB   disk2s2
   3:                APFS Volume Recovery                622.9 MB   disk2s3
   4:                APFS Volume VM                      20.5 KB    disk2s4
   5:                APFS Volume MacOS                   15.3 GB    disk2s5
   6:              APFS Snapshot com.apple.os.update-... 15.3 GB    disk2s5s1diskutil ap deleteContainer disk1 ; diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk2 0b ; diskutil listdiskutil list/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.3 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk2         500.0 GB   disk0s2
/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +500.0 GB   disk2
                                 Physical Store disk0s2
   1:                APFS Volume MacOS - Données         74.8 GB    disk2s1
   2:                APFS Volume Preboot                 344.6 MB   disk2s2
   3:                APFS Volume Recovery                622.9 MB   disk2s3
   4:                APFS Volume VM                      1.1 GB     disk2s4
   5:                APFS Volume MacOS                   15.3 GB    disk2s5
   6:              APFS Snapshot com.apple.os.update-... 15.3 GB    disk2s5s1 
	