Skip to content

open & host

Open a project hostname in the browser.

mdocker open
mdocker open <name> # the first hostname
mdocker open <name> <hostname> # a specific hostname
mdocker open <name> --all # every hostname of the project

Manage the hostnames a project serves. Changes update the registry and the override, and may regenerate the certificate (to add a SAN) and restart the router container.

mdocker host
mdocker host ls <name>
mdocker host add <name> <host> [--no-apply]
mdocker host rm <name> <host> [--no-apply]
Flag Meaning
--no-apply Update the registry only; don’t re-render / regenerate the cert immediately.

Wildcard hostnames (*.acme.coding9.test) are supported and rendered as a Traefik HostRegexp rule; each wildcard needs its own certificate SAN.