In addition to the other suggestions, you might want to check-out distrobox:
https://github.com/89luca89/distrobox
It provides support for starting host commands within a container, and also exporting commands from containers to the host.
It provides support for starting host commands within a container, and also exporting commands from containers to the host.