Devs love ZenUML
Devs love ZenUML

Reputation: 11842

How can I upgrade openshift origin if it is run as a docker container?

According to the document, all configuration and stored application definitions will also be removed when a container is removed if openshift origin runs as a docker container.

My question is is there way to upgrade openshift without losing the configurations if I am running the container?

Upvotes: 1

Views: 66

Answers (1)

Sebastian
Sebastian

Reputation: 41

You can create a Dockerfile, use the original image as a base image an run your update statements.

FROM openshift/origin

RUN your-update-statement

ENTRYPOINT ["/usr/bin/openshift"]

After that just build and run your Docker image. For more info see https://docs.docker.com/engine/reference/builder/

Upvotes: 2

Related Questions