Skip to content

Aio-interface: Add "Pull new images" button while containers are running#8017

Open
Copilot wants to merge 2 commits intomainfrom
copilot/add-image-pull-button-aio
Open

Aio-interface: Add "Pull new images" button while containers are running#8017
Copilot wants to merge 2 commits intomainfrom
copilot/add-image-pull-button-aio

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 28, 2026

When container updates are available, users had to stop all running containers before they could fetch new images. This adds a one-click way to pre-pull updated images in the background without interrupting the live instance.

Changes

  • DockerController.php

    • Extended PerformRecursiveImagePull() to accept an optional streaming closure (same pattern as PerformRecursiveContainerStart), so pull progress is streamed to the browser in real time
    • Added new PullImages() HTTP handler wrapping the above in a streaming response
  • index.php

    • Registered POST /api/docker/pull-imagesDockerController::PullImages; covered by the existing global CSRF Guard middleware
  • containers.twig

    • When has_update_available && isAnyRunning && !isApacheStarting && !is_mastercontainer_update_available, renders an explanation and a "Pull new images" button
    • Text explicitly states: pulled images are used automatically the next time containers are recreated (manual stop/start or AIO daily backup/update schedule)

@szaimen szaimen added 3. to review Waiting for reviews enhancement New feature or request labels Apr 28, 2026
@szaimen szaimen added this to the next milestone Apr 28, 2026
@szaimen szaimen changed the title feat: Add "Pull new images" button while containers are running Aio-interface: Add "Pull new images" button while containers are running Apr 28, 2026
@szaimen szaimen marked this pull request as ready for review April 28, 2026 18:17
@szaimen szaimen modified the milestones: v13.0.0, next Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants