介绍
# Perry Workspaces
位于你的 tailnet 上的隔离 Docker 工作区,预装了编程代理。
## 命令 ```bash perry start <name> --clone [email protected]:user/repo.git # Create perry ls # List perry stop <name> # Stop perry remove <name> # Delete perry shell <name> # Interactive shell ```
## SSH 访问 ```bash ssh workspace@<name> # User is always 'workspace' ssh workspace@<IP> # Use IP if MagicDNS fails ```
## 编程代理 - **OpenCode**:`http://<workspace>:4096`(Web UI)或通过 CLI 连接 - **Claude Code**:在工作区 shell 中运行(先执行 `perry shell`,再执行 `claude`)
## 项目位置 项目会克隆到 `~/<name>`,而不是 `/workspace`: ```bash cd ~/my-project # Correct ```
## 故障排除 - **无法连接**:检查 `tailscale status`,尝试使用 IP 而非主机名 - **SSH 失败**:用户必须是 `workspace`,而不是你的本地用户 - **启动缓慢**:检查 Web UI 查看进度