Docker hub and encrypted traffic

When I run a docker {push,pull,login}, is the traffic encrypted to docker hub?

I suspect that the login process and the push/pull traffic for private
images is encrypted, but I have not been able to find anything that states
so explicitly.

Of course, the traffic to/from the website is encrypted using HTTPS[1].
But is that also true of the docker commands for docker hub, i.e. login,
push, pull[2]?

Thanks in advance for pointers in the right direction.



  • Robert

Docker enforces TLS encryption for all push/pull operations. The official registry is only available over TLS.

The images themselves, however, are stored in S3 unencrypted. It is only transport that is encrypted.