Just use Saltbox
https://docs.saltbox.dev/saltbox/basics/basics/
It's exactly what you're trying to achieve but battle tested
Just use Saltbox
https://docs.saltbox.dev/saltbox/basics/basics/
It's exactly what you're trying to achieve but battle tested
So,, cable with extra steps?
Haven't used YAMS
But having read the page, I'd say it's much more pluggable.
There are dozens of community plugins to install other docker based tools with Saltbox.
Also, it's a rewrite of an older project and has been in development for longer than YAMS. I've been using it for around 8 years or so.