简体   繁体   中英

Docker: Error starting container: Unable to load the AUFS module

After ssh ing into my ec2 instance using vagrant on ubuntu , I tried running

sudo docker run -i -t ubuntu echo 'hello' , but I get this error:

Error starting container da3124903fc4: Unable to load the AUFS module

How can I load this AUFS module ?

I already have aufs-tools installed.

This has helped me in installing aufs, run the following commands:

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

Cheers!!

I ran apt-get purge lxc-docker and reinstalled it with the following command:

curl https://get.docker.io | sudo sh

I got the following error, but the installation continued and finished.

Ensuring basic dependencies are installed...
Looking in /proc/filesystems to see if we have AUFS support...
Ahem, it looks like the current kernel does not support AUFS.
Let's see if we can load the AUFS module with modprobe...
FATAL: Module aufs not found.
Ahem, things didn't turn out as expected.

When I run docker run ubuntu echo hello the result is hello , so it looks like everything is alright.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM