Applicable to:
- SolusVM 2
Symptoms
SolusVM 2 update fails with the error:
SVM_ERROR: Failed to download Update
failed to download docker images: failed to pull images: [failed to pull "624819242197.dkr.ecr.eu-central-1.amazonaws.com/nxt/rabbitmq:3.9.10-management-alpine": Error response from daemon: client version 1.41 is too new. Maximum supported API version is 1.40 failed to pull "624819242197.dkr.ecr.eu-central-1.amazonaws.com/nxt/influxdb:2.1.1-alpine": Error response from daemon: client version 1.41 is too new. Maximum supported API version is 1.40 failed to pull "624819242197.dkr.ecr.eu-central-1.amazonaws.com/nxt/echo:1.7.0-25496": Error response from daemon: client version 1.41 is too new. Maximum supported API version is 1.40 failed to pull "624819242197.dkr.ecr.eu-central-1.amazonaws.com/nxt/api:1.7.0-25496": Error response from daemon: client version 1.41 is too new. Maximum supported API version is 1.40 failed to pull "624819242197.dkr.ecr.eu-central-1.amazonaws.com/nxt/postgres:12.8-alpine3.14": Error response from daemon: client version 1.41 is too new. Maximum supported API version is 1.40 failed to pull "624819242197.dkr.ecr.eu-central-1.amazonaws.com/nxt/redis:7.0.0-alpine3.15": Error response from daemon: client version 1.41 is too new. Maximum supported API version is 1.40 failed to pull "624819242197.dkr.ecr.eu-central-1.amazonaws.com/nxt/nginx:1.7.0-25496": Error response from daemon: client version 1.41 is too new. Maximum supported API version is 1.40 failed to pull "624819242197.dkr.ecr.eu-central-1.amazonaws.com/nxt/workers:1.7.0-25496": Error response from daemon: client version 1.41 is too new. Maximum supported API version is 1.40]
Cause
docker client API version and docker server API version are different.
Resolution
- Connect to SolusVM 2 Management node via SSH
- Update docker to the latest version:
On RHEL-based OSes(Centos, Almalinux):
# yum update docker-ce-cli docker-ce containerd.io
On Debian-based OSes(Debian, Ubuntu):
# apt update && apt --only-upgrade install docker-ce-cli docker-ce containerd.io
Warning: Upon docker update SolusVM 2 docker services will be restarted.
If docker update is not the option at the moment as a temporary workaround set the necessary docker API version using environment variable:
# export DOCKER_API_VERSION=1.40
Comments
0 comments
Please sign in to leave a comment.