Skip to content

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

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/add-image-pull-button-aio
Draft

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

Conversation

Copilot AI commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

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.

  • The PR was tested and verified that it works locally
  • The PR was completely or partially created with AI

@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, v13.0.1 Apr 30, 2026
@szaimen szaimen modified the milestones: v13.0.2, next May 6, 2026
@szaimen szaimen modified the milestones: v13.0.3, next May 7, 2026
@szaimen szaimen modified the milestones: v13.0.4, next May 15, 2026

@pabzm pabzm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like such a button, but I think we should change the UI so start and update are distinct actions, and add update & stop & start as a shortcut. That way people could still stop and start their containers without having to wait for image pulling, even if updated containers are available. The current solution feels very much like Windows forcing OS updates on shutdown/reboot often in the wrong moment.

Having the old logic side by side with another update-button feels cluttered to me.

@szaimen szaimen modified the milestones: v13.2.0, next Jun 4, 2026
@szaimen szaimen modified the milestones: v13.2.1, next Jun 8, 2026
@szaimen szaimen changed the title Aio-interface: Add "Pull new images" button while containers are running aio-interface: Add "Pull new images" button while containers are running Jun 9, 2026
Comment on lines +296 to +299
<form method="POST" action="api/docker/pull-images" target="overlay-log">
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">
<input type="hidden" name="{{csrf.keys.value}}" value="{{csrf.value}}">
<input type="submit" value="Pull new images" />

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember the problem now: The problem is that it will show the button even if the new container images where already pulled. So we would need to add some additional logic that checks this to hide the button in that case...

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additionally this block of html should probably also be visible when a mastercontainer udpate is available...

@szaimen szaimen added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Jun 9, 2026
@szaimen szaimen marked this pull request as draft June 9, 2026 13:49
@szaimen szaimen removed this from the next milestone Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing Work in progress enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants