Skip to content

Deploy Your First App

This guide walks you through the full lifecycle of an app on Zerokie: creating it, checking its status, redeploying, and deleting it.

Deploy a public Docker image with a single command:

Terminal window
zerokie apps create --name my-app --image nginx:alpine --port 80

Expected output:

App created: my-app
URL: https://my-app.platform-dev.zerokie.com
Status: deploying

Your app will be available at the URL within a few seconds, with a valid Let’s Encrypt TLS certificate.

Terminal window
zerokie apps status my-app
Name: my-app
Image: nginx:alpine
Port: 80
Status: running
URL: https://my-app.platform-dev.zerokie.com
Instances: 1
CPU: 256 MHz
Memory: 512 MB
Terminal window
zerokie apps list
NAME IMAGE STATUS URL
my-app nginx:alpine running https://my-app.platform-dev.zerokie.com

After pushing a new version of your Docker image, trigger a redeployment:

Terminal window
zerokie apps deploy my-app

Zerokie pulls the latest version of the image and performs a rolling update.

When you no longer need the app:

Terminal window
zerokie apps delete my-app

This stops the running container and removes the DNS record.

Zerokie also supports static sites served directly from a CDN — no containers needed.

Terminal window
zerokie apps create --name my-site --type static
App created: my-site
URL: https://my-site.platform-dev.zerokie.com
Type: static

Point the CLI at a directory containing your built site (e.g. ./dist, ./public, ./build):

Terminal window
zerokie apps deploy my-site --dir ./dist
Deploying to my-site...
Uploaded: 42 files (1.2 MB)
Deleted: 0 files
URL: https://my-site.platform-dev.zerokie.com

Your site is live and served via CDN with automatic TLS.

Terminal window
zerokie domains add my-site www.example.com
Domain added: www.example.com
CNAME target: my-site.platform-dev.zerokie.com
TLS status: pending
Create a CNAME record with your DNS provider:
www.example.com → my-site.platform-dev.zerokie.com

TLS is provisioned automatically once the CNAME record is in place (typically 1-10 minutes).