# Ubuntu updates intefere with Docker and AUFS?

**URL:** <https://meta.discourse.org/t/ubuntu-updates-intefere-with-docker-and-aufs/25039>\
**Category:** Self-hosting\
**Created:** [2015 年 2 月 9 日午後 8:56 UTC](https://meta.discourse.org/t/ubuntu-updates-intefere-with-docker-and-aufs/25039 "2015-02-09T20:56:55Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![eschipul](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eschipul/32/116116_2.png) [@eschipul](https://meta.discourse.org/u/eschipul)\
**Post date:** [2015 年 5 月 13 日午後 6:31 UTC](https://meta.discourse.org/t/ubuntu-updates-intefere-with-docker-and-aufs/25039/14 "2015-05-13T18:31:38Z")

</div>

Disappearing Dockers on Ubuntu after updates only happens when the kernel is upgraded. While your solution worked this time, it might not the next time given you had just done an update previously. This is the line you want to run specifically after a kernel upgrade.

```
sudo apt-get -y install linux-image-extra-$(uname -r) aufs-tools

```

or bundle them with your update with something similar to this:

```
sudo apt-get update && sudo apt-get upgrade -yy && \
sudo apt-get -y install linux-image-extra-$(uname -r) aufs-tools

```

Then you do have to reboot unfortunately. It happens on our Ubuntu servers all of the time. Worst case scenario it doesn’t find an update and just jumps past the line. Perhaps not perfect but effective and fast. I hope this helps!

---

_[View the full topic](https://meta.discourse.org/t/ubuntu-updates-intefere-with-docker-and-aufs/25039)._
