# Aufs/overlay2 storage driver (docker)

**URL:** https://meta.discourse.org/t/aufs-overlay2-storage-driver-docker/77968
**Category:** Self-hosting
**Created:** [January 14, 2018, 1:07am UTC](https://meta.discourse.org/t/aufs-overlay2-storage-driver-docker/77968 "2018-01-14T01:07:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [January 14, 2018, 1:07am UTC](https://meta.discourse.org/t/aufs-overlay2-storage-driver-docker/77968/1 "2018-01-14T01:07:39Z")

</div>

Hello Discourse Team, I have a little question about Docker, I’m not an expert at all in the matter, but before you recommanded aufs storage driver for Docker, and a year ago when I used the command `wget -qO- https://get.docker.com/ | sh` from the install guide it seems that it was automatically an aufs storage driver.

On the most recent install/reinstall that I’ve done, with this command it comes with an overlay2 storage drive (I tried on two different hosting services and it comes with overlay2 - is it because I started with Ubuntu 14.04 and the new install are with the 16.04 version?).

I’ve seen some recent post saying that it should be fine either way, so I’m not too worried, but I want to be sure. I prefer asking some question that might be stupid to be sure

Can you confirm aufs is still the best option for Discourse? Or overlay2 will be as good of an option and I don’t have to worry at all about that?

  

I’m also aware of this guide, so if aufs is still the best option, I might use it.

> [@Change the Docker storage backend](https://meta.discourse.org/t/how-to-change-storage-backend-in-docker/75352):
>
> Hello all, I have been using Docker with the Devicemapper storage driver. After manually editing the launcher script, I finally took the time to convert to Overlay2. Here are the instructions I took to do this. I hope this helps others. I see others have [asked the question](https://meta.discourse.org/t/change-docker-device-storage/67968), but I don’t see any answers. I used [this excellent guide](https://muehe.org/posts/switching-docker-from-aufs-to-devicemapper/) to help figure this out. Step 1: Halt your Discourse application (and other docker apps) ./launcher stop app Step 2: Commit and save your old Docker containers/image…

---

<div class="post-metadata">

### Author: ![lt100](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lt100/32/67668_2.png) [@lt100](https://meta.discourse.org/u/lt100)
#### Post date: [March 30, 2018, 8:52pm UTC](https://meta.discourse.org/t/aufs-overlay2-storage-driver-docker/77968/2 "2018-03-30T20:52:34Z")

</div>

I have the same question. I’ve just installed Discourse following an official walkthough on Ubuntu 16.04 and my storage driver is `overlay2`. I’ve installed Discourse in the past, and the driver always was `aufs`.

Shall I somehow switch to `aufs`, or `overlay2` is ok? Thanks.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [March 30, 2018, 9:17pm UTC](https://meta.discourse.org/t/aufs-overlay2-storage-driver-docker/77968/3 "2018-03-30T21:17:38Z")

</div>

On my blog I have been using overlay2 for multiple years with no issues, of course your mileage may vary here but it appears to work fine for me
