image command manages local image overrides for the active sitectl context.
Use sitectl image set when you want a local site to run a different image tag, image reference, or build argument without editing the upstream template files directly.
sitectl image set currently requires a local context with a project directory. It writes docker-compose.override.yml in that project.
Use sitectl image clear to remove image and build-arg override keys without deleting unrelated local override content:
clear removes image/build-arg overrides for every service in the override file. With service arguments, it clears only those services.
Flags
| Flag | Format | Use |
|---|---|---|
--tag | SERVICE=TAG | Set a known LibOps service to a published LibOps tag. |
--image | SERVICE=IMAGE | Set any Compose service to an explicit image reference. |
--build-arg | SERVICE.ARG=VALUE | Set a Compose build argument for a service. |
--tag only works for services known to sitectl’s shared LibOps image map. For app-specific services, use --image or --build-arg.
Compose Reconcile
Image overrides participate in the first-runsitectl compose up reconcile contract:
- an explicit image override for a service means core does not require the plugin’s default image to exist locally
- a build-arg override triggers the build phase so the new arguments are applied
- the override file fingerprint is part of the local reconcile cache key
Reference
Manage Compose image overrides for a site| Flag | Default | Description |
|---|---|---|
--build-arg | [] | Override a Compose service build arg as SERVICE.ARG=VALUE; may be passed more than once. |
--image | [] | Override a Compose service image as SERVICE=IMAGE; may be passed more than once. |
--tag | [] | Set a LibOps image tag for a known Compose service as SERVICE=TAG; may be passed more than once. |

