You need to understand the fundamentals of how containers work. What’s inside the container is up to the creator - if you are the creator and want a package manager in there just install it. Normal way for me would be to pick a container for a system I like and add my own stuff. Find one that has what you want and add your stuff there.
Tldr: take your example and ask ChatGPT about the parts you don’t understand