ezi dock
ezi dock runs your web apps on a local Kubernetes cluster (kind) with HTTPS, so
you and your agents can deploy and test them the way they would run hosted.
Each app answers on https://<app>.localhost:47230. Managed Postgres, MySQL,
Redis and MongoDB, and disks, are available to apps. Everything listens on
127.0.0.1 only.
Requirements
- macOS or Linux. ezi dock does not run on Windows.
- Docker, running.
- kind, kubectl and mkcert on your
PATH. - Port 47230 free on
127.0.0.1.
Check them:
ezi dock doctor
[OK] docker 29.6.1
[OK] kind kind v0.33.0 go1.27.0 darwin/arm64
[OK] kubectl Client Version: v1.36.1
[OK] mkcert v1.4.4
[WARN] ca the dock CA is created at the first deploy in /Users/you/.ezi/tls
[WARN] cluster no cluster yet
fix: ezi dock cluster up
ezi dock is built into ezi; there is nothing extra to download.
Deploy an app
In the app's folder:
ezi dock init
[OK] wrote /Users/you/app/dock.yaml for app app (port 8080); deploy with `ezi dock deploy --wait`
dock.yaml is the app's settings file. ezi dock builds the app from its
Dockerfile, and writes one under .ezi/dock/ when the project has none
(Node.js, Go, Python and static sites).
ezi dock deploy --wait
ezi dock status
ezi dock logs <app>
What is available
ezi dock capabilities
ingress: https://<app>.localhost:47230 (127.0.0.1 only)
stacks: node, go, python, static (Dockerfile generated when missing)
service: mongodb mongo:8.0, port 27017, MONGODB_URL
service: mysql mysql:8.4, port 3306, DATABASE_URL
service: postgres postgres:17-alpine, port 5432, DATABASE_URL
service: redis redis:7-alpine, port 6379, REDIS_URL
disks: up to 50 GiB each
prices: app 1.00, service 2.00, disk 0.50 per GiB (local credits, once at create)
tls: dedicated CA /Users/you/.ezi/tls/rootCA.pem, never in a system trust store
The prices are local credits in a ledger on your machine (ezi dock wallet);
no money is involved.
HTTPS certificates
ezi dock creates its own certificate authority in ~/.ezi/tls and never adds
it to your system's trust store. Trust it per client instead, for example
curl --cacert ~/.ezi/tls/rootCA.pem or NODE_EXTRA_CA_CERTS.
ezi dock tls shows the details.
Clean up
ezi dock destroy <app> # remove one app
ezi dock cluster down --yes # delete the cluster
Every Docker resource ezi dock creates is named ezi-c-dock-<suffix>.