dock · v0.3.0

Deploy from your terminal.No Git required.

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 | sh

macOS and Linux. The build is checked against its SHA-256 before it is installed.

~/my-app
1command to deploy
0config files
3systems, Intel and ARM

Guide

Five commands,
start to finish.

Each step plays in its terminal as you reach it. Run the same command on your computer and you get the same result.

01

Install dock

One line downloads the build for your system, checks it against the release's checksums.txt and puts dock on your PATH.

curl -fsSL https://cli.dockhosting.dev/install.sh | sh

On Windows, in PowerShell: irm https://cli.dockhosting.dev/install.ps1 | iex

Terminal
02

Sign in through your browser

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 login

Only approve a code you started yourself, just now.

Terminal
03

Deploy the folder you are in

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.

dock deploy

Run it again to ship a new version. --yes takes the defaults.

~/my-app
04

Follow it and change what it needs

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 --follow

dock status · dock env set KEY · dock db sql mydb "select 1"

~/my-app
05

Keep it up to date

dock tells you when a new version is out. One command fetches it, checks its SHA-256 and replaces itself.

dock update
Terminal

Downloads

Prefer the file itself

Questions

Before you start

Do I need GitHub?

No. dock deploy uploads the folder you are in. Projects connected to GitHub keep deploying on every push.

What exactly gets uploaded?

Your source files. Never node_modules, vendor, .git, .env or anything your .gitignore leaves out. dock lists what goes and asks first.

Where is it installed?

macOS and Linux: /usr/local/bin, or ~/.local/bin without write access there. Windows: %LOCALAPPDATA%\Programs\dock, added to your PATH.

How do I sign out or remove it?

dock logout ends the session on this computer; you can also end it in Settings → Sessions. To remove dock, delete the dock file.

Can I use it in CI?

Yes. dock deploy --yes takes every default, notices go to stderr, and DOCK_NO_UPDATE_CHECK=1 turns the update check off.