Skip to content

Guides

Each guide takes one task, such as running a workload or reclaiming disk space, and shows how to do it step by step. The guides build on the ideas in Concepts.

Running workloads
Define and start instances: commands, environment, sizing, rate limits, ports and standby.
Files and volumes
Configuration files from the host, volumes that outlive instances, and scratch space.
Health checks
Check that a workload is well, use an image’s own check, and restart one that is not.
Restarts
Restart instances that end on their own, and delete ones that were only ever temporary.
Standby
Free an idle instance’s CPU and memory, and wake it when a connection arrives.
Snapshots
Freeze an instance to disk and put it back exactly as it was.
Working inside guests
Run commands in a guest, list its processes, copy files in and out, and read its console.
Managing images
Pull images ahead of time, use private registries, update tags and reclaim disk space.
Remote access
Serve the API over TCP, and reach it from another machine with a token.
Capacity
How much CPU and memory instances may be given, overcommit and the reserve, what is in use, and resizing a running instance.
Monitoring
Prometheus metrics, live instance stats, events, and the daemon’s log and audit.
Operating the daemon
Restart and upgrade dicerd without stopping guests, back it up, and remove it.
Troubleshooting
Why an instance will not start or stay up, and how to find out.
Using the API
Call the gRPC API from Go, Python or the shell.
Compose projects
Describe several instances, their networks and volumes in one file, and run them together with dicer compose.
Choosing hardware
What to look for in a server for Dicer, with an example build for a datacenter rack.
Tuning a host
Set up a production host’s firmware, operating system and data drives for Dicer, and size Dicer’s configuration to it.