The stuff outside is likely exported from the container, but is likely just a link to what is inside, made to look transparent from the host but is not real.
Containers create an overlay layer on top of the host. Some stuff on the host may still be linked directly.
The abstract concept to understand here is that the thing you want to put in a container is likely to need outdated or different library (code) dependencies than the host machine. If you installed this software on the host, the conflicting dependencies are a nightmare and are likely to break stuff over time. So the container is the solution. It is as likely to be as small of an overlay image as possible and contains the dependencies that would otherwise conflict, and keeps them separate from the host.
If you want to work with these, you must log into the container, and use the tools within. This will likely involve both the container and a Python venv layer, conda, or uv.
It is also likely that docker is just an alias for podman on a Linux machine.