my docker “crashes” with the error: request returned Internal Server Error for API route and version ***** check if the server supports the requested API version
for all microservices im running in my docker-compose. This happens constantly, i might get my services up and running for a few min as longest. so i need to restart docker desktop alot.
Im running 2 docker-compose.yml files: docker compose -f docker-compose.yml -f docker-compose.dev.yml up --build
the dev.yml file basically just override so it runs my services locally.
Mac OS: 14.4 (23E214) Docker desktop: 4.28.0
Engine:
Version: 25.0.3
API version: 1.44 (minimum version 1.24)
Go version: go1.21.6
Git commit: f417435
Built: Tue Feb 6 21:14:22 2024
OS/Arch: linux/arm64
Experimental: false
Error: “unable to get image ‘pgvector/pgvector:pg16’: request returned 502 Bad Gateway for API route and version http://%2F%2F.%2Fpipe%2FdockerDesktopLinuxEngine/v1.49/images/pgvector/pgvector:pg16/json, check if the server supports the requested API version”
I am running on windows 11 Docker desktop.
I tried restarting the docker engine many times and it till gives the error, before upgrade to v4.42.0 it was working fine.
Was trying to run the Nutrient AI Assistant docker image which requires pgvector database.
@narashimanatpspdfkit, Were you able to find a solution/workaround. I’m facing the exact same problem (with hashicorp/vault:latest) after upgrading to v4.42.0.
I had to remove all the existing images and containers, then restart Docker Desktop. After that, everything worked smoothly without any further issues.