I'm trying to move to vscode.dev for totally online coding. I was able to SSH into my computer via the remote tunnels extension. However, I was not able to install the devcontainers extension, neither run/build a devcontainer, on the browser. Using vscode locally I can do that, but I'd like to use a devcontainer on the browser as I'm on a tablet
UPDATE: please raise awareness and ask/vote for this feature here: https://github.com/microsoft/vscode-remote-release/issues/9059
I do not think Dev Containers is meant to be used from a remote
vscode.dev
environment, only from a local OS and VSCode:GitHub Codespaces would provide an online development experience closer to what you need, since it does support Dev Containers
As illustrated in this thread, you can use both:
Ctrl-Shift-P > Dev Containers: Create Dev Container...
git init -b main && git commit -a -m "Dev container"
gh repo create YourAccount/RepoName --private --source . --push
(and any other commands)Ctrl-Shift-P > Codespaces: Create New Codespace
As commented, it is not supported yet, and depends on issues like:
vscode-remote-release issue 9131: "Open tunnel directly to a devcontainer": so that we can connect to that devcontainer from vscode.dev.
vscode-remote-release issue 9132: "Allow opening a tunnel with an API token", that way, it would be possible to create a docker image which open a tunnel without user intervention.
It includes, from Connor Peet:
And Connor Peet adds:
Q1 2024:
microsoft/vscode-remote-release
issue 9059 now includes from Ryan Young :Ryan goes on: