pub async fn update_image(
client: &DockerClient,
progress: &mut ProgressReporter,
) -> Result<UpdateResult, DockerError>Expand description
Update the opencode image to the latest version
This operation:
- Tags the current image as “previous” for rollback
- Pulls the latest image from the registry
Returns UpdateResult indicating success or if already on latest.
§Arguments
client- Docker clientprogress- Progress reporter for user feedback