Skip to main content
Expose sandbox ports to the internet.

oc preview create <sandbox-id>

HTTP API →
--port
int
required
Container port to expose
--domain
string
Custom domain
oc preview create sb-abc --port 3000

oc preview list <sandbox-id>

HTTP API → Output columns: PORT, HOSTNAME, SSL, CREATED

oc preview delete <sandbox-id> <port>

HTTP API →