Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Make pull through docker hub cache configurable during runtime #2384

Open
barnabasbusa opened this issue Apr 18, 2024 · 0 comments
Open
Labels
cli For bugs relating to the CLI feature request painful Painful bug

Comments

@barnabasbusa
Copy link
Contributor

Background & motivation

It's fairly easy to overload a network when there are multiple users trying to fetch gigabytes worth of docker images all at the same time. It would be great if with an additional flag, a local pull through cache could be configured, so that all images could be cached for the next user. This feature would make sense in dense situations, where there are dozens of people trying to fetch tens of different docker images.
This feature would enable accessing private repositories without needing to specify username/password during runtime.

Anyone can super quickly spin up a pull through cache using: https://docs.docker.com/docker-hub/mirror/

Lets assume your pull through cache is configured to be hosted at: http://192.168.1.100:5000
Right now it works with:

participants:
  - el_type: geth
    el_image: 192.168.1.100:5000/ethpandaops/geth:master
    cl_type: lighthouse
    cl_image: 192.168.1.100:5000/ethpandaops/lighthouse:unstable
    count: 2

However, ideally you should be able to cache all kurtosis images too.

Desired behaviour

It would be great if there could be an additional flag like --private-repository <url> during kurtosis run command that would enable one to specify a private repository/pull through cache. This would enable all commands to go via this cache, and speed up the spin up time significantly, without needing to specify the cache's location in each image individually.

How important is this to you?

Painful; the lack of this feature makes using Kurtosis frictionful.

What area of the product does this pertain to?

CLI: the Command Line Interface

@github-actions github-actions bot added cli For bugs relating to the CLI painful Painful bug labels Apr 18, 2024
@barnabasbusa barnabasbusa changed the title FR: Make pull through docker hub cache configurable FR: Make pull through docker hub cache configurable during runtime Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli For bugs relating to the CLI feature request painful Painful bug
Projects
None yet
Development

No branches or pull requests

1 participant