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
135
+
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
135
+
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
135
+
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
142
+
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:"
212
+
err "No full or partial Docker / Moby version match found for \"${DOCKER_VERSION}\" on OS ${ID}${VERSION_CODENAME} (${architecture}). Available versions:"
173
213
apt-cache madison ${cli_package_name}| awk -F"|"'{print $2}'| grep -oP '^(.+:)?\K.+'
174
214
exit 1
175
215
fi
@@ -182,8 +222,17 @@ if type docker > /dev/null 2>&1 && type dockerd > /dev/null 2>&1; then
182
222
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')."
230
+
exit 1
231
+
fi
232
+
set -e
233
+
234
+
# Install compose
235
+
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