APFS is now over two years old, its official release having been in March 2017 with iOS 10.3. Look at its supporting tools today, though, and you could be forgiven for thinking that it’s still in beta.
A couple of days ago, I looked at its limitations in terms of minimum size of containers and volumes, mainly using Disk Utility, and came away completely confused. I resolved to return and this time tackle the problem at the command line, using the all-powerful diskutil. This article is a report on the complications that result from trying to manage APFS using diskutil.
If you’ve used diskutil to manage HFS+ disks and volumes, you’ll be disappointed to discover that, rather than extend its standard set of verbs, Apple has effectively shoehorned in a second tool with its own set of verbs which are prefaced bydiskutil apfs
and using man diskutil is more like opening a disjoint library.
Read more at EclecticLight.co

