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

Can't deploy Docker image to OpenShift

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 4.3.1.CR1
    • 4.3.1.Beta2
    • openshift
    • None

      Clone https://github.com/redhat-developer-tooling/openshift-vagrant/ (outside eclipse)
      Create / Run CDK Server adapter pointing at openshift-vagrant/cdk-v2/

      Clone https://github.com/burrsutter/cdk_helloworlds
      import swarm-helloworld as a maven project in the workspace

      Run maven build mvn clean compile package on the project.

      Right-click on swarm-helloworld/dockerfile > Run As > Docker Image Build
      Select Docker connection from CDK
      Use 172.30.80.211:5000/burr/swarm-helloworld as repo name

      The image deploys to the CDK docker connection/registry (See Docker Explorer)

      Right click on the deployed image > Deploy to OpenShift
      Select OpenShift Project (create a new one if necessary)

      =>Error Message : This docker image was not pulled in the selected Docker connection. Mapping ports will not be possible.
      The Finish Button stays disabled

      http://screencast.com/t/I2syMLXNcO8

              fbricon@redhat.com Fred Bricon
              fbricon@redhat.com Fred Bricon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: