Docker:启动容器时出错:无法加载AUFS模块

Ros*_*one 4 ubuntu amazon-ec2 vagrant docker

在ssh使用vagranton 进入我的ec2实例后ubuntu,我尝试了运行

sudo docker run -i -t ubuntu echo 'hello',但我收到此错误:

Error starting container da3124903fc4: Unable to load the AUFS module

我怎么加载这个AUFS module?

我已经aufs-tools安装好了.

sri*_*ttu 6

这有助于我安装aufs,运行以下命令:

sudo apt-get install lxc wget bsdtar curl
sudo apt-get install linux-image-extra-$(uname -r)
sudo modprobe aufs
Run Code Online (Sandbox Code Playgroud)

干杯!!


Ros*_*one 3

我apt-get purge lxc-docker使用以下命令运行并重新安装它:

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

我收到以下错误,但安装继续并完成。

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.
Run Code Online (Sandbox Code Playgroud)

当我运行的docker run ubuntu echo hello结果是hello,所以看起来一切都很好。