You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 30, 2023. It is now read-only.
if [[ "${DOCKER_MOBY_ARCHIVE_VERSION_CODENAMES}"!=*"${VERSION_CODENAME}"* ]];then
136
+
err "Unsupported distribution version '${VERSION_CODENAME}'. To resolve, either: (1) set feature option '\"moby\": false' , or (2) choose a compatible OS distribution"
if [[ "${DOCKER_MOBY_ARCHIVE_VERSION_CODENAMES}"!=*"${VERSION_CODENAME}"* ]];then
143
+
err "Unsupported distribution version '${VERSION_CODENAME}'. To resolve, either: (1) set feature option '\"moby\": false' , or (2) choose a compatible OS distribution"
echo"(!) No full or partial Docker / Moby version match found for \"${DOCKER_VERSION}\" on OS ${ID}${VERSION_CODENAME} (${architecture}). Available versions:"
213
+
err "No full or partial Docker / Moby version match found for \"${DOCKER_VERSION}\" on OS ${ID}${VERSION_CODENAME} (${architecture}). Available versions:"
173
214
apt-cache madison ${cli_package_name}| awk -F"|"'{print $2}'| grep -oP '^(.+:)?\K.+'
174
215
exit 1
175
216
fi
@@ -182,8 +223,17 @@ if type docker > /dev/null 2>&1 && type dockerd > /dev/null 2>&1; then
182
223
echo"Docker / Moby CLI and Engine already installed."
apt-get -y install --no-install-recommends moby-compose ||echo"(*) Package moby-compose (Docker Compose v2) not available for OS ${ID}${VERSION_CODENAME} (${architecture}). Skipping."
err "Packages for moby not available in OS ${ID}${VERSION_CODENAME} (${architecture}). To resolve, either: (1) set feature option '\"moby\": false' , or (2) choose a compatible OS version (eg: 'ubuntu-20.04')."
231
+
exit 1
232
+
fi
233
+
set -e
234
+
235
+
# Install compose
236
+
apt-get -y install --no-install-recommends moby-compose || err "Package moby-compose (Docker Compose v2) not available for OS ${ID}${VERSION_CODENAME} (${architecture}). Skipping."
0 commit comments