Skip to main content
Patches are scripts that run when a sandbox is spawned from a checkpoint.

oc patch create <checkpoint-id>

HTTP API →
--script
string
required
Path to script file, or - for stdin
--description
string
Patch description
oc patch create cp-xyz --script=./setup.sh --description="Install deps"
echo "apt install -y curl" | oc patch create cp-xyz --script=-

oc patch list <checkpoint-id>

HTTP API → Output columns: ID, SEQ, DESCRIPTION, STRATEGY, CREATED

oc patch delete <checkpoint-id> <patch-id>

HTTP API →