from Hacker News

Pull Through Cache Repositories for Amazon Elastic Container Registry

by dantiberian on 11/29/21, 8:51 PM with 26 comments

  • by adamgordonbell on 11/29/21, 10:25 PM

    We were getting requests to pay docker a lot of money because of the volume of docker pulls we were doing. We used a pull-through cache on DO as a work around and its a been a big success.

    My colleague wrote up a guide to pull-through caching dockerhub.[1] Docker's pricing is a little bit funky, because a full image pull with all the layers costs the same as a request where you retrieve no layers at all.

    If this AWS feature were out a couple months ago and had support for dockerhub, I'm not sure we would have set this up.

    [1] https://earthly.dev/blog/pull-through-cache/

  • by NathanKP on 11/29/21, 9:30 PM

    Hey all! I work on the container services team at AWS. If you have any questions about this new feature, feel free to ask!