nexdrew / rekcod

docker inspect :mag: → docker run :runner:
ISC License
371 stars 32 forks source link

too new API version #76

Open KorbenDev opened 3 years ago

KorbenDev commented 3 years ago

When I run the alias/docker command I get the following error message: Error response from daemon: client version 1.40 is too new. Maximum supported API version is 1.39

Running on a Synology NAS. Sorry, quiet a noob...

KorbenDev commented 3 years ago

Docker version info:

Client: Version: 18.09.8 API version: 1.39 Go version: go1.11 Git commit: bfed4f5 Built: Fri Mar 13 06:46:11 2020 OS/Arch: linux/amd64 Experimental: false

Server: Engine: Version: 18.09.8 API version: 1.39 (minimum version 1.12) Go version: go1.11 Git commit: 3a371f3 Built: Fri Mar 13 06:44:35 2020 OS/Arch: linux/amd64 Experimental: false

henrikno commented 3 years ago

Related to https://github.com/docker/cli/issues/2533 One workaround is to run with -e DOCKER_API_VERSION=1.39, e.g: docker run -e DOCKER_API_VERSION=1.39 --rm -i -v /var/run/docker.sock:/var/run/docker.sock nexdrew/rekcod <container>