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.
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.
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!!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With