我在与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]:/#
哪有我解决了这个问题?