We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b5b46a commit 0a7329dCopy full SHA for 0a7329d
1 file changed
helpers.sh
@@ -211,7 +211,7 @@ docker_update() {
211
212
if $HAS_DOCKER; then
213
docker_version="$(docker version -f "{{ .Server.Version }}")"
214
- if version_gt "20.10.10" "$docker_version"; then
+ if dpkg --compare-versions "$docker_version" '<<' 20.10.10; then
215
echo "Updating docker, old version can't run some images (https://docs.linuxserver.io/FAQ/#jammy)"
216
echo \
217
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
0 commit comments