dock login
Authenticate the CLI with your DockHosting account.
Usage
dock loginWhat it does
dock login opens your browser at the DockHosting dashboard and starts a
temporary callback server on 127.0.0.1. After you approve the login, the
dashboard redirects back to the local callback with a token.
The CLI saves the token in its config file and uses it for future commands.
Notes
- The login request times out after a few minutes.
- If the browser does not open, copy the printed URL into your browser.
- Run this once per machine, then use
dock whoamito verify the account.