[jbosstools-issues] [JBoss JIRA] (JBIDE-24899) Deploy Docker Image wizard: Image not found
Josef Kopriva (JIRA)
issues at jboss.org
Tue Aug 29 03:52:00 EDT 2017
[ https://issues.jboss.org/browse/JBIDE-24899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josef Kopriva updated JBIDE-24899:
----------------------------------
Steps to Reproduce:
>From https://issues.jboss.org/browse/JBIDE-24501 :
ASSERT: have the CDK with the registry that's not publicly reachable
ASSERT: have a project with a docker file in your workspace (ex. clone git at github.com:redhat-helloworld-msa/hola.git)
ASSERT: have a connection to the docker daemon in the CDK3
EXEC: in package explorer: select your Dockerfile and pick Run As > Docker Image Build. Provide some image name and version, pick Docker Connection to the docker daemon in the CDK
EXEC: once the image is built, go to "Docker Explorer", select the Docker image that you built and select "Deploy to OpenShift..."
EXEC: In deploy docker image wizard: check "Push Image to Registry" and finish the wizard
ASSERT: once the push is finished, the freshly pushed image should show up in the Docker explorer
EXEC: in "Docker Explorer": select this image and pick "Deploy to OpenShift..."
ASSERT: "Deploy Docker Image" wizard shows up, having "Image Name" set to your Docker image with the docker registry prefix
EXEC: select different project
EXEC: select "Push Image to registry"
EXEC: hit "Next"
ASSERT: Error dialog shows up: "No Docker image named 172.30.1.1:5000/test/hola:latest could be found"
!image-2017-08-29-09-50-20-927.png|thumbnail!
Screencast: https://youtu.be/JolnbsW1lTw
was:
>From https://issues.jboss.org/browse/JBIDE-24501 :
ASSERT: have the CDK with the registry that's not publicly reachable
ASSERT: have a project with a docker file in your workspace (ex. clone git at github.com:redhat-helloworld-msa/hola.git)
ASSERT: have a connection to the docker daemon in the CDK3
EXEC: in package explorer: select your Dockerfile and pick Run As > Docker Image Build. Provide some image name and version, pick Docker Connection to the docker daemon in the CDK
EXEC: once the image is built, go to "Docker Explorer", select the Docker image that you built and select "Deploy to OpenShift..."
EXEC: In deploy docker image wizard: check "Push Image to Registry" and finish the wizard
ASSERT: once the push is finished, the freshly pushed image should show up in the Docker explorer
EXEC: in "Docker Explorer": select this image and pick "Deploy to OpenShift..."
ASSERT: "Deploy Docker Image" wizard shows up, having "Image Name" set to your Docker image with the docker registry prefix
EXEC: select different project
EXEC: select "Push Image to registry"
EXEC: hit "Next"
ASSERT: Error dialog shows up: "No Docker image named 172.30.1.1:5000/test/hola:latest could be found"
!image-2017-08-29-09-50-20-927.png|thumbnail!
> Deploy Docker Image wizard: Image not found
> -------------------------------------------
>
> Key: JBIDE-24899
> URL: https://issues.jboss.org/browse/JBIDE-24899
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk, docker, openshift
> Affects Versions: 4.5.1.AM1
> Reporter: Josef Kopriva
> Attachments: image-2017-08-29-09-50-20-927.png
>
>
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jbosstools-issues
mailing list