In theory the idea of an iterative method of container configuration really appeals to me. In practice, I'm having a difficult time making it work, particularly in the rootless ecosystem of podman/buildah.
I'm beginning get the feeling that podman/buildah is not the best container dev stack for debian derived linux distros. For one, apt doesn't support dnf's '--installroot' option/directive. I've attempted to use debootstrap with buildah's 'scratch', but w/ no success... i.e., I'm getting a 'Cannot install into target' error.
I should say that I succeeded in cobbling together a simple pod with containers running NGINX, postgres, and served, a c++ library that I used a basis for building a small app for brokering database bound post requests from a web front-end. The problem is it's a kludge, with the main sticking point being the served-based c++ app. Between compilation and runtime dependencies, I'm unsure of the best approach to take; needless to say, my current approach is not working.
I would appreciate any and all hints from experienced practitioners who use rootless container solutions on debian-based distros, esp. if you're rolling your own c++ microservices: I'd really like to know your strategy for doing configurations. Many thanks in advance.