CPAC error in creating data_settings.yml template file

That looks to me like a known, unresolved issue running Docker on MacOS ≥ 12.0.1.

My best guess here is the same as this:

As in that thread, please let us know if you have success or figure out a workaround!