-
Notifications
You must be signed in to change notification settings - Fork 8
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
Open a project/folder with different devcontainer image #170
Comments
Hey, In your request you propose directly linking to an Docker image, but since a devcontainer is always specified by a .json - if I implement this, you would have to link to a json. Or maybe I would automatically create the json for you in some temp directory? Probably not a good idea though. How are you currently launching your devcontainers though if not all your projects have the devcontainer config? Using the vscode user interface? |
I use devpod - their pattern is to create a "workspace" from either a .devcontainer.json config file, or else create one just from an image (and if you do this they mount a directory at like |
Interesting. Looking at their source code, it seems like they use the remote containers feature, not actual devcontainers: So I guess they manage all container aspects themselves and then just connect vscode to their container. That means it's basically a reimplementation of the devcontainers vscode feature. To support this use-case, we would have to implement our own container management solution (setting them up, starting, stopping etc). I think this is a bit out-of-scope and probably would be a different tool? However, something similar might be possible with #82. |
thanks for checking in on it. I'll start adding devcontainer configuration and play around 👍 |
This looks like a sweet tool - I am a pretty heavy devcontainer user but not all my projects have a devcontainer configuration/json file. Is it possible to do something like
vscli open /path/to/project --devcontainer-image my-image:latest
or something like that? Maybe giving the container a name too for some level of persistence?The text was updated successfully, but these errors were encountered: