Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-23136

Deploy Docker Wizard: Pushing image to CDK registry results in an image with no tag

XMLWordPrintable

    • devex #123 November 2016, devex #140 November 2017
    • 8

      I have a docker connection to local docker daemon and a CDK docker connection. I am pushing an image from a docker connection to CDK registry via Deploy Image to OpenShift wizard. Push of an image pass, but it results into an image with no tag, see:
      172.30.192.49:5000/msa/msa <none> 238200ae067d 4 months ago 1.05 GB

      Such images are not shown in docker explorer under a docker connection because of upstream bug ERT-411

      Steps to reproduce:

      • have a project with a file named Dockerfile with the following content (1 line):
        FROM fedora:latest
        
      • Select the file in the project explorer, then Run As > Docker Image Build. Use the CDK connection and give it a name (eg: username/fedora)
      • Select the image in the Docker Explorer view, then Deploy to OpenShift.
      • In the wizard, select the option to push the image to the registry (add a dummy port if needed)
      • once the operation completed, there's an unexpected image named like 172.30.164.33:5000/<project>/fedora in the output of the docker images command (in CLI)

            dbocharo@redhat.com Dmitrii Bocharov (Inactive)
            mlabuda_jira Marián Labuda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: