microsoft / microsoft/vscode-remote-release
Containers: make opening a container from Dockerfile a nice experience
Open
@Chuxel is already working on this.
Since Mar 3, 2020.
containers
under-discussion
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 470
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Occasionally I need to test something in VSCode's docker container for Linux that we use for building VSCode: https://github.com/microsoft/vscode-linux-build-agent/tree/master/x64
That is the moment when I am using the Remote Container and Docker extension. The flow I want is the following: given a Dockerfile, allow me to open a local folder on my OS inside that docker file. This should be a one-click command that does:
- create an image
- create a container
- start the container
- opens a folder I choose in that container in a VSCode instance
Today this is not possible, the steps are:
- right-click
Dockerfile-> create image - open a terminal and run the image so that it becomes a container to connect to (it needs to run a long running command to not shutdown directly)
- right click container -> open folder in container
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.