Compare commits

...
Author SHA1 Message Date
github-actions[bot] 192393c79b Update CHANGELOG.md 2026-12-03 09:56:03 +00:00
CanbiZ (MickLesk) 0dee0a10e9 Docker/NPMplus (Alpine): use docker-cli-compose instead of a downloaded binary (#19278)
The Alpine installs put Compose into /root/.docker/cli-plugins by curl.
Nothing updated it afterwards (the update is apk -U upgrade), and the CLI
prefers that directory over the package path. Install docker-cli-compose
instead, and on update move existing containers to the package before
removing the old binary.
2026-12-03 10:40:53 +01:00
5 changed files with 49 additions and 14 deletions

No files matched your search

+26
View File
@@ -590,6 +590,32 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
</details>
## 2026-12-03
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- TeddyCloud: Include custom images in backup [@Sab44](https://github.com/Sab44) ([#19276](https://github.com/community-scripts/ProxmoxVE/pull/19276))
- #### 🔧 Refactor
- Docker/NPMplus (Alpine): use docker-cli-compose instead of a downloaded binary [@MickLesk](https://github.com/MickLesk) ([#19278](https://github.com/community-scripts/ProxmoxVE/pull/19278))
### 💾 Core
- setup_docker: install docker-compose-plugin only next to docker-ce [@MickLesk](https://github.com/MickLesk) ([core#335](https://github.com/community-scripts/core/pull/335))
- core: Stop the run when a disabled script is started [@MickLesk](https://github.com/MickLesk) ([core#330](https://github.com/community-scripts/core/pull/330))
- docker: remove legacy docker-compose binaries that shadow docker-compose-plugin [@MickLesk](https://github.com/MickLesk) ([core#334](https://github.com/community-scripts/core/pull/334))
- tools: add check_for_gl_tag [@MickLesk](https://github.com/MickLesk) ([core#332](https://github.com/community-scripts/core/pull/332))
- core: say what curl said when a download fails [@MickLesk](https://github.com/MickLesk) ([core#331](https://github.com/community-scripts/core/pull/331))
- feat: ask VMs for tags, delete protection and the DNS search domain [@MickLesk](https://github.com/MickLesk) ([core#329](https://github.com/community-scripts/core/pull/329))
### 📂 Github
- fix(ci): daily release fixes (drop Frontend, keep days apart) [@CrazyWolf13](https://github.com/CrazyWolf13) ([#19274](https://github.com/community-scripts/ProxmoxVE/pull/19274))
- fix(ci): set GH_REPO in the daily release step [@CrazyWolf13](https://github.com/CrazyWolf13) ([#19272](https://github.com/community-scripts/ProxmoxVE/pull/19272))
## 2026-12-02
### 🆕 New Scripts
+9
View File
@@ -60,6 +60,15 @@ update_deb_based() {
update_alpine() {
$STD apk -U upgrade
if [[ -f /root/.docker/cli-plugins/docker-compose ]]; then
msg_info "Migrating Docker Compose to the Alpine package"
if apk info -e docker-cli-compose &>/dev/null || $STD apk add docker-cli-compose; then
rm -f /root/.docker/cli-plugins/docker-compose
msg_ok "Migrated Docker Compose to the Alpine package ($(docker compose version --short))"
else
msg_warn "Could not install docker-cli-compose, keeping the old Compose binary"
fi
fi
msg_ok "Updated successfully!"
}
+10
View File
@@ -26,6 +26,16 @@ function update_script() {
$STD apk -U upgrade
msg_ok "System updated"
if [[ -f /root/.docker/cli-plugins/docker-compose ]]; then
msg_info "Migrating Docker Compose to the Alpine package"
if apk info -e docker-cli-compose &>/dev/null || $STD apk add docker-cli-compose; then
rm -f /root/.docker/cli-plugins/docker-compose
msg_ok "Migrated Docker Compose to the Alpine package"
else
msg_warn "Could not install docker-cli-compose, keeping the old Compose binary"
fi
fi
msg_info "Pulling latest NPMplus container image"
cd /opt
$STD docker compose pull
+3 -7
View File
@@ -66,16 +66,12 @@ setup_alpine() {
$STD rc-update add docker default
msg_ok "Installed Docker"
DOCKER_COMPOSE_LATEST_VERSION=$(get_latest_github_release "docker/compose" false)
prompt="${var_docker_compose:-}"
[[ -n "$prompt" ]] || read -r -p "${TAB3}Would you like to add Docker Compose? <y/N> " prompt || true
if [[ "${prompt,,}" =~ ^(y|yes|true)$ ]]; then
msg_info "Installing Docker Compose $DOCKER_COMPOSE_LATEST_VERSION"
DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}
mkdir -p "$DOCKER_CONFIG"/cli-plugins
curl -fsSL https://github.com/docker/compose/releases/download/"$DOCKER_COMPOSE_LATEST_VERSION"/docker-compose-linux-$(arch_resolve "x86_64" "aarch64") -o ~/.docker/cli-plugins/docker-compose
chmod +x "$DOCKER_CONFIG"/cli-plugins/docker-compose
msg_ok "Installed Docker Compose $DOCKER_COMPOSE_LATEST_VERSION"
msg_info "Installing Docker Compose"
$STD apk add docker-cli-compose
msg_ok "Installed Docker Compose $(docker compose version --short)"
fi
prompt="${var_docker_socket:-}"
[[ -n "$prompt" ]] || read -r -p "${TAB3}Would you like to expose the Docker TCP socket? <y/N> " prompt || true
+1 -7
View File
@@ -21,15 +21,9 @@ $STD apk add \
msg_ok "Installed Dependencies"
msg_info "Installing Docker & Compose"
$STD apk add docker
$STD apk add docker docker-cli-compose
$STD rc-service docker start
$STD rc-update add docker default
DOCKER_COMPOSE_LATEST_VERSION=$(get_latest_github_release "docker/compose" false)
DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}
mkdir -p $DOCKER_CONFIG/cli-plugins
curl -fsSL https://github.com/docker/compose/releases/download/$DOCKER_COMPOSE_LATEST_VERSION/docker-compose-linux-$(arch_resolve "x86_64" "aarch64") -o ~/.docker/cli-plugins/docker-compose
chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose
msg_ok "Installed Docker & Compose"
msg_info "Fetching NPMplus"