devcontainers / cli

A reference implementation for the specification that can create and configure a dev container from a devcontainer.json.
https://containers.dev
MIT License
1.47k stars 206 forks source link

Question: Codespaces server demo #539

Open samopolacek opened 1 year ago

samopolacek commented 1 year ago

Hey,

I would like to learn more about devcontainers.

I want to replicate something like Codespaces, where I would have the server side of the thing in Linux VM to which I would attach from Windows host. Is there any sample project / demo available with a server side functionality similar to Codespaces?

chrmarti commented 1 year ago

You can use the Dev Container CLI to spin up a dev container, but that does not come with code editing or any IDE functionality built-in.

If all you want is to connect to a Linux VM from a Windows host, you could use the Dev Containers and Remote-SSH extensions for VS Code to first connect to your Linux VM using ssh and then create a dev container there using the Dev Containers extension.