Skip to content

Background service and dashboard

Install a service that runs any dockhive command at login. Everything after -- is the command it runs:

Terminal window
dockhive service install -- expose 3000 --name my-app
Terminal window
dockhive service uninstall
  • macOS: a launchd agent; logs in ~/Library/Application Support/dockhive/service.log.
  • Linux: a systemd user unit; follow logs with journalctl --user -u dockhive-tunnel -f. Run loginctl enable-linger $USER to keep it running after you log out.
  • Windows: a scheduled task that starts at logon.

Sign in first: the service uses your stored sign-in (or put DOCKHIVE_TOKEN in the unit’s environment on servers).

While dockhive expose runs, open http://localhost:4040 to see:

  • who you’re signed in as,
  • your tunnels with their public URLs, with copy buttons,
  • a live log of requests: method, path, status, duration and size (bodies are never recorded),
  • data in and out.

The dashboard only answers on your own computer. Change its port with --dashboard-port or turn it off with --no-dashboard.

Your tunnels also appear in the console under Tunnels.