1. Implementing oauth: https://github.com/docker/distribution/pull/1418
2. Using credential helpers: https://github.com/docker/docker/pull/20107