dvs tunnel start
Starts a sharing tunnel for an application, making it accessible from the internet.
Usageβ
dvs tunnel start
Descriptionβ
This command creates a secure tunnel that exposes your local application to the internet via a unique URL (e.g., https://abc123.share.zrok.io).
When the tunnel starts:
- A tunnel container is created and started
- Recipe-specific hooks are executed (e.g., WordPress URL configuration)
- User custom hooks are executed (if defined in
/app/.dvs/hooks/) - Application configuration is updated with the tunnel URL
Exampleβ
dvs tunnel start
Outputβ
[i] Starting tunnel container...
[i] Waiting for tunnel container to start...
[β] tunnel container started
Tunnel created successfully!
myapp is now accessible at: https://abc123.share.zrok.io
Troubleshootingβ
Registry authentication failedβ
If you see this error, your Docker credentials have expired:
[!] Registry authentication failed
[w] Try one of these commands to fix:
[w] dvs login - reconnect to registry
[w] dvs sync - refresh credentials from server
Permission issuesβ
If the tunnel container fails due to permissions:
rm -rf ~/.dvs/apps/<app_name>/zrok
dvs tunnel start
See alsoβ
- tunnel stop - Stop the tunnel
- tunnel status - View tunnel information
- Custom Hooks - Execute custom scripts on tunnel events