Documentation
¶
Overview ¶
Package upgrade provides the Arcane CLI command that upgrades a running Arcane container by recreating it with a newer image.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UpgradeCmd = &cobra.Command{
Use: "upgrade",
Short: "Upgrade an Arcane container to the latest version",
Long: `Upgrade an Arcane container by pulling the latest image and recreating the container.
This command should be run from outside the container (e.g., from the host or another container).`,
Example: ` # Auto-detect and upgrade the Arcane container
arcane upgrade --auto
# Upgrade a specific container
arcane upgrade --container arcane
# Upgrade to a specific image tag
arcane upgrade --container arcane --image ghcr.io/getarcaneapp/arcane:v1.2.3`,
RunE: runUpgrade,
}
UpgradeCmd recreates a running Arcane container with a newer image while preserving its configuration.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.