Docker install: Module aufs not found

Hey,

Immediately after running the docker install command wget -qO- https://get.docker.io/ | sh I get the following error. “modprobe: FATAL: Module aufs not found.”

I’m on digital ocean, 2GB Ram 40GB SSD. I have followed the guide exactly. redis, postgres has been installed and working properly.

Check your kernel in dashboard you need one supporting docker

1 Like

k, I was able to resolve AUFS error using this guide. http://stackoverflow.com/questions/18607200/docker-error-starting-container-unable-to-load-the-aufs-module

Running these commands fixed the AUFS error.

sudo apt-get install lxc wget bsdtar curl
sudo apt-get install linux-image-extra-$(uname -r)
sudo modprobe aufs

After bookstrapping discourse and running ‘./launcher start app’ command gives me the error below. Apologize about these questions. I’m relatively new to command line. Any idea how to fix this issue?

“Error response from daemon: Cannot start container ec15517beef98aad8c800ba44367e6eef14e5d2844db291b9958f3b17999b045: listen tcp 0.0.0.0:80: bind: address already in use”

k, ngnix was listening on port 80. This seems to have worked and discourse is loading now.

Also I have stopped ngnix, instead of stopping should I change the port for it? How could I change the port for it? Any suggestions. Thanks!

How are you failing to install on Digital Ocean? Are you not selecting Ubuntu 14.04 LTS as we recommend?

@codinghorror, It is on Ubuntu 14.04 LTS. The issue seems to arise on docker install wget -qO- https://get.docker.io/ | sh. I have resolved the docker installation with:

sudo apt-get install lxc wget bsdtar curl
sudo apt-get install linux-image-extra-$(uname -r)
sudo modprobe aufs

Seems like everything is working now. I think the installation guide should mention the “modprobe: FATAL: Module aufs not found.”, in case someone else runs into this issue.

You said that above. I can’t repro the problem you’re having though, unless docker changed that get.docker.io script in the last few days – I’ve installed dozens of times on Digital Ocean using our guide and never, ever seen what you’re reporting.

@codinghorror, it must have been a recent change with docker. I installed discourse over the weekend on a different droplet, ran into the same issue as today. Though everything is working now.

Was there an error during the initial run of the docker web-install script? It’s possible that there was a network error resulting in a failure to get the packages.

It should have been noticed by the script. Do you have the output from the initial run still?

Yes, there was an error during the initial setup. I was able to resolve this issue, but don’t have the output from the initial run anymore.

OK - it’s almost definitely something the docker install script should be detecting and handling - it if occurs again they’ll need to address it.

1 Like

Here is the initial output error, after running “wget -qO- https://get.docker.io/ | sh”

modprobe: FATAL: Module aufs not found.

Fixed using:

sudo apt-get install lxc wget bsdtar curl
sudo apt-get install linux-image-extra-$(uname -r)
sudo modprobe aufs

You can close this topic. Thanks!

Does that happen again on a fresh install? Can you reproduce it? If so you should file a ticket with docker.

I could do a fresh install and test it. I will let you know.

@supermathie It happened again on a fresh install. Issue has been submitted with docker.

1 Like

This topic was automatically closed after 24 hours. New replies are no longer allowed.