Reputation: 11842
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
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