HelperScripts-for-ProxmoxVE/misc
MickLesk 728726d5cc fix(docker): safe, interactive per-container update check
Replace the destructive multi-select container update block with a
proper per-container Y/N workflow:

- Unattended / non-interactive (DOCKER_NONINTERACTIVE=1 or no tty):
  skip silently -- no docker pulls, no prompts.
- Interactive: stop_spinner() before any prompt to keep the terminal
  clean, then for each container with a newer image:
    Compose-managed  → prompt Y/N (auto-no after 60 s)
                       → on Y: docker compose pull <service> &&
                                docker compose up -d <service>
    Standalone run   → prompt Y/N (auto-no after 60 s)
                       → on Y: docker pull only; no stop/rm;
                                user is told to recreate manually
- portainer / portainer_agent are excluded (handled earlier in
  setup_docker)

The old code always stopped and removed the container without
recreating it, leaving users with a destroyed service.  Standalone
containers without a Compose project can never be auto-recreated
safely, so only the image is pulled.

Fixes #15601
2026-07-06 14:43:25 +02:00
..
images remove old files and assets (#9991) 2025-12-15 17:37:26 +01:00
alpine-install.func core: add var_http_proxy and var_http_no_proxy support (#15225) 2026-06-24 06:58:32 +02:00
alpine-tools.func core/tools: replace generic return 1 exit_codes with more specific exit_codes (#13311) 2026-03-26 16:07:38 +01:00
api.func misc scripts: add support for arm64 (#12639) 2026-06-11 08:14:32 +02:00
build.func feat(build.func): add var_ignore_disable to bypass disabled-script guard (#15544) 2026-07-02 13:53:39 +02:00
cloud-init.func core/tools: replace generic return 1 exit_codes with more specific exit_codes (#13311) 2026-03-26 16:07:38 +01:00
core.func core: add var_http_proxy and var_http_no_proxy support (#15225) 2026-06-24 06:58:32 +02:00
error_handler.func misc scripts: add support for arm64 (#12639) 2026-06-11 08:14:32 +02:00
install.func core: add var_http_proxy and var_http_no_proxy support (#15225) 2026-06-24 06:58:32 +02:00
tools.func fix(docker): safe, interactive per-container update check 2026-07-06 14:43:25 +02:00
vm-core.func VM-Core: Update some Functions (#15113) 2026-06-25 13:13:29 +02:00