我在與Ubuntu顛沛流離的虛擬機器上運行碼頭工人在Mac上登錄爲root用戶,我試圖從devicemapper切換到覆蓋,但我得到一個錯誤說:不支持Ubuntu切換文件系統到疊加的Docker?
[email protected]:/# service docker stop
docker stop/waiting
[email protected]:/# rm -rf /var/lib/docker
[email protected]:/# docker daemon -s overlay
Command "daemon" is deprecated, and will be removed in Docker 1.16. Please run `dockerd` directly.
INFO[0000] libcontainerd: new containerd process, pid: 6788
WARN[0000] containerd: low RLIMIT_NOFILE changing to max current=1024 max=4096
ERRO[0001] 'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded.
Error starting daemon: error initializing graphdriver: driver not supported
[email protected]:/#
我已經試過以下說明從:
http://www.projectatomic.io/blog/2015/06/notes-on-fedora-centos-and-docker-storage-drivers/ Unable to start Docker Service in Ubuntu 16.04
但他們都沒有爲我工作。
當我嘗試在以下文件:
https://docs.docker.com/engine/userguide/storagedriver/overlayfs-driver/
我陷在步驟2,因爲grep的不從lsmod的返回任何 '疊加':
[email protected]:/# uname -r
3.13.0-107-generic
[email protected]:/# lsmod | grep overlay
[email protected]:/#
[email protected]:/# dockerd --storage-driver=overlay
INFO[0000] libcontainerd: new containerd process, pid: 6816
WARN[0000] containerd: low RLIMIT_NOFILE changing to max current=1024 max=4096
ERRO[0001] 'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded.
Error starting daemon: error initializing graphdriver: driver not supported
[email protected]:/#
哪有我解決了這個問題?