From 2b0f5e6e2ef4749bdfd47cd2bebf3ecc675ec54c Mon Sep 17 00:00:00 2001 From: MickLesk Date: Sat, 1 Aug 2026 21:36:01 +0200 Subject: [PATCH] remove comment in tools.func and remove portainer from docker setup --- install/docker-install.sh | 8 ++++---- misc/tools.func | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/install/docker-install.sh b/install/docker-install.sh index 5ed717b2f..904a65938 100644 --- a/install/docker-install.sh +++ b/install/docker-install.sh @@ -15,11 +15,11 @@ update_os PORTAINER_AGENT_LATEST_VERSION=$(get_latest_github_release "portainer/agent") -read -r -p "${TAB3}Would you like to add Portainer (UI)? " prompt -if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then - DOCKER_PORTAINER="true" setup_docker +setup_docker + +if prompt_confirm "${TAB3}Would you like to install Portainer (UI) via the community-scripts addon?" "n" 60; then + bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/portainer.sh)" <<<"y" else - setup_docker read -r -p "${TAB3}Would you like to install the Portainer Agent (for remote management)? " prompt_agent if [[ ${prompt_agent,,} =~ ^(y|yes)$ ]]; then msg_info "Installing Portainer Agent $PORTAINER_AGENT_LATEST_VERSION" diff --git a/misc/tools.func b/misc/tools.func index d14ee5df7..d4175bfec 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -4766,7 +4766,7 @@ EOF name=$(echo "$line" | awk '{print $1}') image=$(echo "$line" | awk '{print $2}') - # Portainer containers are handled by the dedicated block above + # Portainer is managed by its own addon script, not this generic loop [[ "$name" == "portainer" || "$name" == "portainer_agent" ]] && continue current_digest=$(docker inspect "$name" --format='{{.Image}}' 2>/dev/null | cut -d':' -f2 | cut -c1-12)