Container
Container objectA site's Windows container (ADR 0162). Experimental: not yet run on Windows.
configuredboolean requiredimagestring requiredtagstring requireddigeststring requiredportinteger requiredrestartstring requiredhealth_pathstring requiredisolationstring requireduserstring requireddesiredstring requiredrunning or stopped: what the owner asked for
statestring requiredrunning, stopped, failed, or empty before the first deployment
workingboolean requiredlast_errorstring requiredregistry_userstring requiredhas_registry_passwordboolean requiredcpu_coresnumber requiredmemory_mbinteger requiredmax_image_mbinteger requiredidstring requiredimagestring requiredtagstring requiredwantedstring requiredThe digest pinned when deployed, or empty
digeststring requiredThe digest the server ran, known once deployed
statestring requiredAllowed values:"deploying""active""standby""failed"error_codestring requiredimage_bytesinteger (int64) requiredcreated_atstring (date-time) required
hostobject requiredengineboolean requiredengine_versionstring requiredhypervboolean requiredengine_kindstring requiredThe server's container engine (ADR 0193); containerd runs trusted containers only
Allowed values:"docker""containerd"hyperv_isolationboolean requiredThe server can run Hyper-V isolated containers now (ADR 0190): false on a VM without nested virtualization, and when unknown
os_buildinteger requiredimage_tagstring requiredThe Microsoft base image tag that matches the server (ltsc2019, ltsc2022, ltsc2025)
linuxstring requiredAllowed values:"not_supported"
allowedboolean requiredisolation_requiredstring requiredtruststring requiredThe container's trust profile (ADR 0190); before it has one, the plan's
Allowed values:"trusted""standard""hostile"trust_requiredstring requiredThe weakest profile the plan allows
Allowed values:"trusted""standard""hostile"trust_choicesarray<string> requiredThe profiles the owner may choose, weakest first
Allowed values:"trusted""standard""hostile"registriesarray<string> requiredrequire_digestboolean requiredupdated_atstring (date-time) | null requiredMulti-service manifest (ADR 0192); null for one container
webstring requiredweb_commandarray<string> requiredweb_entrypointarray<string> requiredweb_depends_onarray<string> requiredweb_cpu_coresnumber requiredweb_memory_mbinteger requiredorderarray<string> requiredStart order, the web service last
sourcestring required
Used by
| GET | /api/v1/tenants/{tid}/sites/{id}/container | The site's Windows container, or what the server and plan offer for one (ADR 0162) |
| PUT | /api/v1/tenants/{tid}/sites/{id}/container 202 | Create or change the site's container and deploy it as a new release; the running version stays until the new one answers its health check |
| POST | /api/v1/tenants/{tid}/sites/{id}/container/deploy 202 | Deploy another version of the same image (a tag or a digest) as a new release |
| POST | /api/v1/tenants/{tid}/sites/{id}/container/start 202 | Start the container; refused while the account is suspended |
| POST | /api/v1/tenants/{tid}/sites/{id}/container/stop 202 | Stop the container |
| POST | /api/v1/tenants/{tid}/sites/{id}/container/releases/{rid}/activate 202 | Go back to a release; its exact digest runs again. Data folders are not changed |