✓ Verified 💻 Development ✓ Enhanced Data

Vscode Tunnel

Start VS Code Remote Tunnel in Docker containers for remote terminal access.

Rating
4 (424 reviews)
Downloads
28,362 downloads
Version
1.0.0

Overview

Start VS Code Remote Tunnel in Docker containers for remote terminal access.

Complete Documentation

View Source →

VS Code Tunnel

Start a VS Code Remote Tunnel in Docker container environments, enabling remote terminal access through VS Code.

Trigger Phrases

  • "start vscode tunnel"
  • "open vscode tunnel"
  • "connect vscode"
  • "launch code tunnel in container"
  • "vscode remote"

Commands

bash
# Start tunnel (interactive name prompt)
bash /path/to/tunnel.sh start

# Start tunnel with specific name
bash /path/to/tunnel.sh start my-tunnel-name

# Stop tunnel
bash /path/to/tunnel.sh stop

# View status
bash /path/to/tunnel.sh status

# View logs
bash /path/to/tunnel.sh log

Environment Variables

VariableDescriptionDefault
VSCODE_TUNNEL_NAMETunnel nameInteractive input
VSCODE_CLI_DIRCLI installation directory~/.vscode-cli

Usage Examples

text
User: start vscode tunnel
Agent: Starting VS Code Tunnel...
[Executes: bash tunnel.sh start]
Agent: Tunnel started. Please enter this code in VS Code to authorize: xxxx-xxxx

text
User: launch a tunnel named dev-env
Agent: Starting tunnel dev-env...
[Executes: bash tunnel.sh start dev-env]

Commands Reference

CommandDescription
start [name]Start tunnel with optional name
stopStop running tunnel
statusDisplay tunnel status
logView tunnel logs (live)

Dependencies

  • curl - Download CLI
  • tar - Extract CLI
  • grep - Log processing

Notes

  • First-time startup requires Microsoft account authorization
  • Authorization code will be displayed in the log output
  • Tunnel runs in background; needs restart after container reboot

Platform Support

  • Linux x64 (Alpine/Debian/Ubuntu)
  • Docker container environments

Installation

Terminal bash

openclaw install vscode-tunnel
    
Copied!

💻Code Examples

bash /path/to/tunnel.sh log

bash-pathtotunnelsh-log.txt
## Environment Variables

| Variable | Description | Default |
|----------|-------------|---------|
| `VSCODE_TUNNEL_NAME` | Tunnel name | Interactive input |
| `VSCODE_CLI_DIR` | CLI installation directory | `~/.vscode-cli` |

## Usage Examples
example.sh
# Start tunnel (interactive name prompt)
bash /path/to/tunnel.sh start

# Start tunnel with specific name
bash /path/to/tunnel.sh start my-tunnel-name

# Stop tunnel
bash /path/to/tunnel.sh stop

# View status
bash /path/to/tunnel.sh status

# View logs
bash /path/to/tunnel.sh log
example.txt
User: start vscode tunnel
Agent: Starting VS Code Tunnel...
[Executes: bash tunnel.sh start]
Agent: Tunnel started. Please enter this code in VS Code to authorize: xxxx-xxxx
example.txt
User: launch a tunnel named dev-env
Agent: Starting tunnel dev-env...
[Executes: bash tunnel.sh start dev-env]

Tags

#coding_agents-and-ides #code #docker

Quick Info

Category Development
Model Claude 3.5
Complexity One-Click
Author listky
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install vscode-tunnel