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

Re: openshift origin,custom templates from running containers

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]