Hi Clayton,

Thanks for you help. Could you please also have a look at this question:
http://stackoverflow.com/questions/34716091/error-running-openshift-origin-docker-error-running-chcon-to-set-the-kubelet
. I keep getting this error even before creating a project or application.
I have also tried with the latest image in
https://hub.docker.com/r/openshift/origin/ .

Some information of my OS and environment.
=====
xxxx2:~ # uname -r
3.12.28-4-default

xxxx2:~ # cat /etc/*release
SUSE Linux Enterprise Server 12 (x86_64)
VERSION = 12
PATCHLEVEL = 0
# This file is deprecated and will be removed in a future service pack or
release.
# Please check /etc/os-release for details about this release.
NAME="SLES"
VERSION="12"
VERSION_ID="12"
PRETTY_NAME="SUSE Linux Enterprise Server 12"
ID="sles"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:12"
=====

Regards,

Xiao Peng, Technical Architect
Blog: http://mrcoder.github.io/

On Tue, Jan 12, 2016 at 1:51 PM, Clayton Coleman <[email protected]>
wrote:

> Hi, tried to answer on stack.  You should be able to mount the
> /var/lib/origin directory and have everything preserved (but double
> check the default directories created).
>
> On Mon, Jan 11, 2016 at 8:20 PM, Xiao Peng <[email protected]> wrote:
> > Hi all,
> >
> > I am relatively new to Openshift Origin. We are designing a solution for
> > service integration and want to use Openshift Origin as the platform.
> But I
> > wonder if I should use the docker image or should I install Openshift
> > natively.
> >
> > If I can use the docker image in production how should I upgrade it when
> a
> > new version of image is released? I know I lose all configuration and
> > application definition when starting a new docker container. Is there a
> way
> > to keep them? Mapping volumes? Which volumes should be mapped?
> >
> > The command line I am using is:
> >
> > docker run -d --name "origin" -e "http_proxy=$http_proxy" -e
> > "https_proxy=$https_proxy" -e "no_proxy=$no_proxy" --privileged
> --pid=host
> > --net=host -v /:/rootfs:ro -v /var/run:/var/run:rw -v /sys:/sys
> > openshift/origin start --cors-allowed-origins='.*'
> >
> > I have also asked this question on stackoverflow (
> >
> http://stackoverflow.com/questions/34734062/is-the-openshift-origin-docker-image-production-ready
> > ).
> >
> > Thanks,
> >
> > Xiao Peng, Technical Architect
> > Blog: http://mrcoder.github.io/
> >
> > _______________________________________________
> > dev mailing list
> > [email protected]
> > http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
> >
>
_______________________________________________
dev mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

Reply via email to