File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ module_options+=(
8282#
8383install_docker () {
8484 # Check if repo for distribution exists.
85- DISTROID=bookworm
8685 URL=" https://download.docker.com/linux/${DISTRO,,} /dists/$DISTROID "
8786 if wget --spider " ${URL} " 2> /dev/null; then
8887 # Add Docker's official GPG key:
@@ -101,7 +100,6 @@ install_docker() {
101100 fi
102101 systemctl enable docker.service > /dev/null 2>&1
103102 systemctl enable containerd.service > /dev/null 2>&1
104- sudo usermod -aG docker $USER > /dev/null 2>&1
105103 whiptail --msgbox " To test that Docker has installed successfully\nrun the following command: docker run hello-world" 9 70
106104 fi
107105 else
Original file line number Diff line number Diff line change 1+ ENABLED=true
2+ RELEASE="bookworm:jammy:noble"
3+ CONDITION="docker run hello-world"
You can’t perform that action at this time.
0 commit comments