Docker Community Forums

Share and learn in the Docker community.

Local error: tls: bad record MAC when pulling docker image

I’m issuing a docker pull command from my Centos 8 virtual machine running on MacOS. I get several retries during the download and then it fails with the “local error: tls: bad record MAC” error message. I’ve tried several different images and I get the same failure.

I was facing the same issue with CentOS 7.8 and docker 19.03 and there were several forums pointed at poor network being the issue. So, I did a speedtest on the “centos guest” on my Mac and confirm that it was not the issue. Today, I updated the engine to 20.x and the error hasn’t disappeared. Any help?