[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: openshift origin,custom templates from running containers

Thanks alot for your help,i was able to start containers through openshift but it was constantly changing status from running-green to orange and finally reached failed state.
After that i made some changes to container and committed again to repository.

but it shows below error while starting from new commit:

Error: imageStream "test" already exists
Error: deploymentConfig "test" already exists

Could you tell me how can i remove or edit existing "test" configuration.

On Sun, Jul 19, 2015 at 4:00 AM, Ben Parees <bparees redhat com> wrote:
1) docker commit the running container and tag the new imageid
2) docker push the image to dockerhub (assuming you are ok with it being public)
3) oc new-app <dockerhub image spec>

that will get the image running as a pod in openshift.

If you really want a template for it, you can then use oc export --as-template to export your project contents in template form.

On Sat, Jul 18, 2015 at 12:05 PM, mad Engineer <themadengin33r gmail com> wrote:
hello All,
               I am new to openshift and PaaS but have experience in Openstack and Docker.
Running latest openshift origin on centos 7 with docker 1.6.2.I have a running docker container outside openshift origin ,in which i have installed and configured my application .Is there any way i can move this container as template and provision it through openshift.OR can i provision a standard centos 6.5 container and then configure application and then make template out of it.

Thanks for any help

users mailing list
users lists openshift redhat com

Ben Parees | OpenShift

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]