No, Docker is not right for this, mostly because Docker does not actually run on Mac; it runs on a Linux VM. MacOS doesn't really support containers.
I would suggest looking at Homebrew.
I would suggest looking at Homebrew.
Many, many developers use Docker on Mac without issue
There is Docker Desktop and Colima you can use
Q: I need to run existing Docker containers on my Mac.
A: You have to use a VM; it's no big deal.
Q: What's the best way to package a new native Mac app?
A: Not containers.