Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dev Containers] Feature Request: Local Terminal with Remote VS Code #9739

Open
AaronFriel opened this issue Apr 2, 2024 · 2 comments
Open
Assignees
Labels
containers Issue in vscode-remote containers feature-request Request for new features or functionality

Comments

@AaronFriel
Copy link

AaronFriel commented Apr 2, 2024

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:

$ $devcommand cargo build | rg 
# ^                         ^ 
# |                         \ the userland outside the container is the default
# \ runs 'docker exec -it ...' inside the ambient container

Or this:

$ gh pr checkout 100

That 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.

@VSCodeTriageBot VSCodeTriageBot added the containers Issue in vscode-remote containers label Apr 2, 2024
@chrmarti chrmarti added the feature-request Request for new features or functionality label Apr 8, 2024
@VSCodeTriageBot VSCodeTriageBot added this to the Backlog Candidates milestone Apr 8, 2024
@VSCodeTriageBot
Copy link
Collaborator

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 10 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@VSCodeTriageBot
Copy link
Collaborator

This feature request has not yet received the 10 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

Happy Coding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
containers Issue in vscode-remote containers feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

3 participants