Docker pull fails for public images

Expected behavior

Image is downloaded

Actual behavior

Error:

moby:~# docker pull ubuntu
Using default tag: latest
Error response from daemon: <snip because of forum rules about links, see gist>

Information

Docker for Mac: version: mac-v1.12.0-beta16.2
OS X: version 10.11.5 (build: 15F34)
logs: /tmp/20160624-135426.tar.gz
failure: No error was detected
[OK] docker-cli
[OK] app
[OK] menubar
[OK] virtualization
[OK] system
[OK] osxfs
[OK] db
[OK] slirp
[OK] moby-console
[OK] logs
[OK] vmnetd
[OK] env
[OK] moby
[OK] driver.amd64-linux

Cannot add the linkified link because of forum rules.

https:// gist.github.com/hammerdr/79dc9587c940ec323851fc0267a740eb

This was fixed when I restarted OS X.

This problem continues to happen, wasn’t ultimately fixed by restarting.