# Upgrade docker in rancheros

**URL:** <https://forums.suse.com/t/upgrade-docker-in-rancheros/1795>\
**Category:** RancherOS\
**Created:** [February 20, 2016, 6:46pm UTC](https://forums.suse.com/t/upgrade-docker-in-rancheros/1795 "2016-02-20T18:46:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JD\_Trout](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@JD\_Trout](https://forums.suse.com/u/JD_Trout)\
**Post date:** [February 20, 2016, 6:46pm UTC](https://forums.suse.com/t/upgrade-docker-in-rancheros/1795/1 "2016-02-20T18:46:17Z")

</div>

I have upgraded from rancheros 0.4.2 to 0.4.3, but my version of docker is still at 1.9.1, not 1.10.1. What the best way to upgrade docker itself? Sorry if this has been covered before, but I couldn’t find anything on the online documentation other than upgrading rancheros.

Thanks for any help that can be provided!

---

<div class="post-metadata">

**Author:** ![bakchoy](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/bakchoy/32/915_2.png) [@bakchoy](https://forums.suse.com/u/bakchoy)\
**Post date:** [February 20, 2016, 10:07pm UTC](https://forums.suse.com/t/upgrade-docker-in-rancheros/1795/2 "2016-02-20T22:07:18Z")

</div>

Just today I did my first upgrade of Rancher OS and I was going from 0.4.2 to 0.4.3. Running docker version before showed 1.9.1, but after I was running Docker 1.10.1.

I don’t think I did anything special, I just ran: sudo ros os upgrade

Are you certain you upgraded to 0.4.3? Here is what I see when I check the OS version now:

[rancher@rancher ~]$ sudo ros os version  
v0.4.3

---

<div class="post-metadata">

**Author:** ![JD\_Trout](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@JD\_Trout](https://forums.suse.com/u/JD_Trout)\
**Post date:** [February 21, 2016, 4:43pm UTC](https://forums.suse.com/t/upgrade-docker-in-rancheros/1795/3 "2016-02-21T16:43:06Z")

</div>

Oh wow, the upgrades says it is complete, but it does not persist past reboot:

```
Status: Image is up to date for rancher/os:v0.4.3
Upgrading to rancher/os:v0.4.3
Continue [y/N]: y

sudo ros -v
ros version v0.4.2

```

I have tried the upgrade a few times now, even specifying the exact version I want to upgrade too, but it always stays at v0.4.2. I am not sure if this matters, but the host I am trying to update was created by docker-machine and not the bear metal installer.

---

<div class="post-metadata">

**Author:** ![ryansch](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/ryansch/32/817_2.png) [@ryansch](https://forums.suse.com/u/ryansch)\
**Post date:** [February 22, 2016, 6:28pm UTC](https://forums.suse.com/t/upgrade-docker-in-rancheros/1795/4 "2016-02-22T18:28:14Z")

</div>

The docker-machine version is going to boot from the iso each time. If you still have it configured to boot from the v0.4.2 iso then you’re going to be stuck on that version.

---

<div class="post-metadata">

**Author:** ![JD\_Trout](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@JD\_Trout](https://forums.suse.com/u/JD_Trout)\
**Post date:** [February 22, 2016, 9:28pm UTC](https://forums.suse.com/t/upgrade-docker-in-rancheros/1795/5 "2016-02-22T21:28:56Z")

</div>

I had a feeling something like that might be happening. Thanks for confirmation.
