Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-1762

Avoid docker pull on each container run

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.20.1
    • Component/s: None
    • Labels:
      None

      Description

      Currently the docker containerizer does a docker pull on each run, and this has several downsides:

      1. Not able to run local images
      2. Require to contact registry server on each run, therefore docker run becomes unavailable if the registry server is down. Also has scalability limits.

      We want to avoid doing a pull everytime. The downside ofcourse is that images without explicit tags (:latest) will not get the most updated version, but this is the same behavior when calling docker run on the cli.

        Issue Links

          Activity

          Hide
          tnachen Timothy Chen added a comment -
          Show
          tnachen Timothy Chen added a comment - Reviewboard: https://reviews.apache.org/r/25237
          Hide
          bhuvan Bhuvan Arumugam added a comment -

          here's the revised patch which Timothy Chen had posted to avoid docker pull if it's already present:
          https://reviews.apache.org/r/25523/

          Show
          bhuvan Bhuvan Arumugam added a comment - here's the revised patch which Timothy Chen had posted to avoid docker pull if it's already present: https://reviews.apache.org/r/25523/
          Hide
          adam-mesos Adam B added a comment -

          commit a6cb178a728aab5e3478aa6a8acd9397fce2d0c7
          Author: Timothy Chen <tnachen@apache.org>
          Date: Wed Sep 17 09:09:14 2014 -0700
          Add Docker pull to docker abstraction.
          Review: https://reviews.apache.org/r/25523

          Show
          adam-mesos Adam B added a comment - commit a6cb178a728aab5e3478aa6a8acd9397fce2d0c7 Author: Timothy Chen <tnachen@apache.org> Date: Wed Sep 17 09:09:14 2014 -0700 Add Docker pull to docker abstraction. Review: https://reviews.apache.org/r/25523

            People

            • Assignee:
              tnachen Timothy Chen
              Reporter:
              tnachen Timothy Chen
              Shepherd:
              Benjamin Hindman
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development