Reputation: 886
I have Docker Desktop 4.16.2 (95914) on MacOS Ventura 13.1, and as far as I know I'm not connected to any proxies. I've authenticated to docker hub via docker desktop, and have tried to pull a python base image by running "docker build .", with the following line at the top of the Dockerfile:
FROM python:3
I get the following error:
Get "https://registry-1.docker.io/v2/": unexpected EOF
Does anyone know what might be causing this and how to resolve it?
Upvotes: 0
Views: 7355
Reputation: 335
I pinned down the issue to privileges changes since Docker Desktop 4.15.0 for Mac.
What fixed the issue on my end was to downgrade to 4.14.1:
I encountered this issue on a company Mac where I suspect the Privileges app I need to use to elevate permissions doesn't work well with the privileges changes Docker made starting from 4.15.0. Extract from their 4.15.0 changelog:
Docker Desktop for Mac no longer needs to install the privileged helper process com.docker.vmnetd on install or on the first run. For more information see Permission requirements for Mac.
Upvotes: 2