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.
Create an app
Section titled “Create an app”Deploy a public Docker image with a single command:
zerokie apps create --name my-app --image nginx:alpine --port 80Expected output:
App created: my-appURL: https://my-app.platform-dev.zerokie.comStatus: deployingYour app will be available at the URL within a few seconds, with a valid Let’s Encrypt TLS certificate.
Check status
Section titled “Check status”zerokie apps status my-appName: my-appImage: nginx:alpinePort: 80Status: runningURL: https://my-app.platform-dev.zerokie.comInstances: 1CPU: 256 MHzMemory: 512 MBList all apps
Section titled “List all apps”zerokie apps listNAME IMAGE STATUS URLmy-app nginx:alpine running https://my-app.platform-dev.zerokie.comRedeploy
Section titled “Redeploy”After pushing a new version of your Docker image, trigger a redeployment:
zerokie apps deploy my-appZerokie pulls the latest version of the image and performs a rolling update.
Delete an app
Section titled “Delete an app”When you no longer need the app:
zerokie apps delete my-appThis stops the running container and removes the DNS record.
Deploy a static site
Section titled “Deploy a static site”Zerokie also supports static sites served directly from a CDN — no containers needed.
Create a static app
Section titled “Create a static app”zerokie apps create --name my-site --type staticApp created: my-siteURL: https://my-site.platform-dev.zerokie.comType: staticDeploy your files
Section titled “Deploy your files”Point the CLI at a directory containing your built site (e.g. ./dist, ./public, ./build):
zerokie apps deploy my-site --dir ./distDeploying to my-site...Uploaded: 42 files (1.2 MB)Deleted: 0 filesURL: https://my-site.platform-dev.zerokie.comYour site is live and served via CDN with automatic TLS.
Add a custom domain
Section titled “Add a custom domain”zerokie domains add my-site www.example.comDomain added: www.example.comCNAME target: my-site.platform-dev.zerokie.comTLS status: pending
Create a CNAME record with your DNS provider: www.example.com → my-site.platform-dev.zerokie.comTLS is provisioned automatically once the CNAME record is in place (typically 1-10 minutes).
Next steps
Section titled “Next steps”- Learn how to pass environment variables to your apps.
- Configure resource limits for CPU and memory.
- Read the Static Hosting guide for the full static site workflow.