在
ssh
上使用 vagrant
进入我的 ec2 实例后,我尝试运行 ubuntu
,但我收到此错误:
sudo docker run -i -t ubuntu echo 'hello'
如何加载这个
Error starting container da3124903fc4: Unable to load the AUFS module
?
我已经安装了
AUFS module
。
aufs-tools
干杯!!
sudo apt-get install lxc wget bsdtar curl
sudo apt-get install linux-image-extra-$(uname -r)
sudo modprobe aufs
并使用以下命令重新安装了它:
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.
时,结果是
docker run ubuntu echo hello
,所以看起来一切都很好。hello