mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-06-24 00:04:56 +02:00
Update docker.sh
This commit is contained in:
+5
-1
@@ -30,7 +30,11 @@ function update_script() {
|
||||
$STD apt upgrade -y
|
||||
msg_ok "Base system updated"
|
||||
|
||||
setup_docker
|
||||
if dpkg-query -W -f='${Status}' docker-ce 2>/dev/null | grep -q "ok installed"; then
|
||||
USE_DOCKER_REPO="true" setup_docker
|
||||
else
|
||||
setup_docker
|
||||
fi
|
||||
|
||||
if docker ps -a --format '{{.Image}}' | grep -q '^portainer/portainer-ce:latest$'; then
|
||||
msg_info "Updating Portainer"
|
||||
|
||||
Reference in New Issue
Block a user