Expose Docker Containers

Give any Docker container a public URL without port forwarding or complex networking.

The Problem

Docker containers listen on internal ports, typically mapped to localhost via -p flags. Collaborators, CI pipelines, or webhooks can't reach them.

Setup

Run your container with a port mapping: docker run -p 8080:80 my-app.

Run the Skytunnel command pointing to the host port (8080). The container is now publicly accessible.

Docker Compose

If using Docker Compose, expose the service port in your compose file, then tunnel it.

Example: your compose service maps port 3000. Run Skytunnel with port 3000.

? FAQ

The host port — the one on the left side of the -p flag (e.g., 8080 in -p 8080:80).
One tunnel per Skytunnel session. Run multiple SSH commands for multiple ports.