Preview Release Upgrades

Is there a path or mechanism for upgrading from one preview release to another (e.g. v2.0.0-alpha21 to v2.0.0-alpha23)?

1 Like

Continuing the discussion from Minimal Cluster:

@ 1:38:53

@ 1:40:34

Shannon: “…about upgrading the beta releases… as people move from one beta to the next and they want to pull some of the bug fixes…”

Darren: “If you’re using the docker container approach… then basically what you’re going to do is stop the container, then say --volumes-from and whatever the old containter was. That will start a new container using the state from whatever the old one was. That’s all you really need to do to upgrade.”

The caveat was added that it should work, but during beta, the priority is to get to GA release over maintaining upgrades.

docker run -p 80:80 -p 443:443 -d --volumes-from={old container ID} rancher/server:v2.0.0-beta{version}

Thanks for the tip, I was not aware this would work in 2.0. I will give it a shot and report my findings

“old volume” should be the old container ID.

Good call. Edited accordingly.