Install dock
One line downloads the build for your system, checks it against the release's checksums.txt and puts dock on your PATH.
On Windows, in PowerShell: irm https://cli.dockhosting.dev/install.ps1 | iex
dock · v0.3.0
dock is the DockHosting command line. It uploads the folder you are in, builds it and puts it live on HTTPS, then follows your logs, sets your variables and talks to your databases.
curl -fsSL https://cli.dockhosting.dev/install.sh | shmacOS and Linux. The build is checked against its SHA-256 before it is installed.
Guide
Each step plays in its terminal as you reach it. Run the same command on your computer and you get the same result.
One line downloads the build for your system, checks it against the release's checksums.txt and puts dock on your PATH.
On Windows, in PowerShell: irm https://cli.dockhosting.dev/install.ps1 | iex
dock opens DockHosting and shows a code. Check it matches the one in your terminal and approve. Your password never passes through the terminal.
dock loginOnly approve a code you started yourself, just now.
dock recognises the stack the way the dashboard does, asks for a name, offers your .env variables and a database, then lists what it will upload and waits for a yes. node_modules, .git and secrets stay on your computer.
Run it again to ship a new version. --yes takes the defaults.
Stream the app's output live, set a variable without it landing in your shell history, or run a query against your database.
dock logs --followdock status · dock env set KEY · dock db sql mydb "select 1"
dock tells you when a new version is out. One command fetches it, checks its SHA-256 and replaces itself.
dock updateDownloads
Questions
No. dock deploy uploads the folder you are in. Projects connected to GitHub keep deploying on every push.
Your source files. Never node_modules, vendor, .git, .env or anything your .gitignore leaves out. dock lists what goes and asks first.
macOS and Linux: /usr/local/bin, or ~/.local/bin without write access there. Windows: %LOCALAPPDATA%\Programs\dock, added to your PATH.
dock logout ends the session on this computer; you can also end it in Settings → Sessions. To remove dock, delete the dock file.
Yes. dock deploy --yes takes every default, notices go to stderr, and DOCK_NO_UPDATE_CHECK=1 turns the update check off.