Skip to content

Create and Manage Instances

An instance is the environment where TaskHandoff runs a project, applications, and AI sessions.

Running instance details
Instance details bring status, apps, sessions, and routine actions together. The interface shown is in Simplified Chinese.

Create an Instance

Select New instance from the instance list.

Choose a Workspace

Use a registered Git repository, add a repository during creation, or select an existing local folder on the target node.

For a private Git repository, select a managed credential if needed. By default it authorizes only the initial clone. Enable Retain in this instance only when agents, terminals, apps, and later repository operations also need remote access.

Choose a Node and Runtime

RuntimeBest forMain constraint
Docker RuntimeMultiple isolated instances and team serversRequires a working Docker daemon
Local RuntimeDirect access to host tools and foldersOne local instance per host user

A Docker instance also requires a market image, custom image, or environment template. The wizard checks Docker and reports whether the selected image needs to be pulled.

Model and Name

Select model providers for the primary Codex and OpenCode agents. The name is optional and can be generated from the project.

After confirmation, the instance moves through provisioning, starting, and registering before reaching Running. Expand image pull details when initial preparation takes time.

Routine Actions

The instance menu provides start, stop, restart, rename, settings, configuration import/export, environment template creation, close all sessions, and delete actions.

Some model and runtime changes take effect only after an instance restart.

Save an Environment Template

This captures installed software, system packages, and tools from the current Docker container. It may pause the source container briefly. A template is not a project backup and excludes workspaces, managed volumes, processes, and network state.

Delete an Instance

Data deletion is permanent

Delete instance data permanently removes all managed volumes, including /data, /home/agent, and the Git workspace. Commit or back up required work first.

When retaining data, record the volume names shown after deletion. TaskHandoff does not attach them to future instances automatically.

Status Reference

StatusMeaning
CreatedThe instance record exists but is not running
ProvisioningThe runtime image is being checked or pulled
Starting / RegisteringThe runtime is connecting to the control plane
RunningApps and AI sessions can be started
StoppedWork is stopped and can be started again
Unhealthy / FailedInspect the runtime, node connection, and error details

An offline node may leave cached instance status in the UI. Restore the node connection before deciding that an instance has stopped.