Using Devcontainer within VSCode, when you open a new terminal, it will be inside the container, not on the host system.
To easily access the host system’s terminal, use the command palette by pressing Ctrl + Shift + P
and search for Terminal: Create New Integrated Terminal (Local)
.
This will allow you to access the host system’s terminal from VSCode, alongside the container’s terminal.