Skip to content

[feature request] Automatic docker image pull on each node #864

Description

@ltetrel

Hi everyone,

We are launching a new binderhub on computecanada for neuroscience : http://neurolibre.conp.ca/

We sometimes experience reaaaally slow pulling time from dockerhub (mostly because we share our bandwidth with other users on https://docs.computecanada.ca/wiki/Cloud_resources). This cause a really long pod spawn time if the image is not already on the node where the user starts an instance (https://mybinder.readthedocs.io/en/latest/faq.html#what-factors-influence-how-long-it-takes-a-binder-session-to-start).

Would it be possible to have a mechanism that automatically pull the image on each node (so we would merge step 1 and 2) ? Then, if a user has his instance assigned on a new node, he will not need to wait for a pull.
For now we manually force the pulling on each node..

Even better to avoid redundancy: An admin could mount a share volume on each node where the docker images would be stored (https://medium.com/@ibrahimgunduz34/how-to-change-docker-data-folder-configuration-33d372669056), but just for the user images, not the system images (hub, binder etc..).

Thanks to all the team for your great work !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions