簡體   English   中英

Docker:啟動容器時出錯:無法加載AUFS模塊

[英]Docker: Error starting container: Unable to load the AUFS module

ssh荷蘭國際集團到我的EC2實例使用vagrantubuntu ,我試圖運行

sudo docker run -i -t ubuntu echo 'hello' ,但是我收到此錯誤:

Error starting container da3124903fc4: Unable to load the AUFS module

我該如何加載這個AUFS module

我已經安裝了aufs-tools

這有助於我安裝aufs,運行以下命令:

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 ,所以看起來一切都還好。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM