From 07f4601badc136d622911e4f28aa31b35467be53 Mon Sep 17 00:00:00 2001 From: Justin Oros Date: Sun, 19 Apr 2026 11:45:07 -0700 Subject: [PATCH] setup-spoke.sh: replace docker.io apt install with Docker official install script to fix docker-compose-plugin availability --- spoke/setup-spoke.sh | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/spoke/setup-spoke.sh b/spoke/setup-spoke.sh index f0763ef..8421375 100755 --- a/spoke/setup-spoke.sh +++ b/spoke/setup-spoke.sh @@ -135,21 +135,13 @@ $PKG_INSTALL vim "$AUTOSSH_PKG" "$OPENSSH_PKG" git info "Installing Docker..." if ! command -v docker >/dev/null 2>&1; then - if [ "$PKG_MANAGER" = "apt" ]; then - $PKG_INSTALL docker.io docker-compose-plugin - else - curl -fsSL https://get.docker.com | bash - fi + curl -fsSL https://get.docker.com | bash else warn "Docker already installed, skipping." fi if ! docker compose version >/dev/null 2>&1; then - if [ "$PKG_MANAGER" = "apt" ]; then - $PKG_INSTALL docker-compose-plugin - else - warn "docker compose not available — Docker install script should have included it." - fi + warn "docker compose not available — Docker install script should have included it." fi info "Adding $SPOKE_USER to docker group..."