Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-919

Slider DockerManager should check whether image is available locally before pull from repository

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Slider 0.80
    • None
    • agent
    • None

    Description

      if command['roleCommand'] == 'INSTALL':
      returncode, out, err = self.pull_image(command)
      logger.info("docker pull result: " + str(returncode) + ";")
      if command['roleCommand'] == 'START':
      returncode, out, err = self.start_container(command)
      return

      {Constants.EXIT_CODE:returncode, 'stdout':out, 'stderr':err}

      If user load image through tar file, it is available in local disk but not in remote repository or private repository. Slider agent should do a check before pulling

      Attachments

        Activity

          People

            Unassigned Unassigned
            airbots Chen He
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: