External terminal support for dev containers #130
AaronFriel
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Copying this issue here:
I love dev containers as an idea, but I do not love that I cannot easily use my "local terminal" environment in implementations and it makes using tools that use some form of identity - including git! - more challenging than necessary.
Whether by moving to an external-by-default terminal, or enabling users to easily launch a terminal external to the container would be fantastic.
By far the biggest obstacle for me to adopt Dev Containers in my organization and daily driving use is that I lose access to my local, familiar terminal environment while in the container. Muscle memory and tools I'm familiar with disappear.
As a power user, my ideal workflow would be that when I open a dev container, it behaves exactly as it does today, except that I can easily open a terminal outside of the container and there is an alias or command injected to easily execute shell commands inside the container.
That is, I would like to be able to do something like this:
Or this:
$ gh pr checkout 100That is, the dev container preserves my intuition and learned skills of using my shell, while keeping the current behavior of enhancing the IDE experience with extensions that run using blessed versions of packages.
This is also marginally more secure as I can run a less-trusted, an OSS repository's dev container, using VS Code and not need to configure any my local applications that rely on local credentials or environment variables to work inside of the container. I would not even be tempted to do so.
Beta Was this translation helpful? Give feedback.
All reactions