Docker daemon cannot work with AUFS on Debian 7

I am running a Debian Wheezy server in GCE. We have Docker containers using the AUFS storage driver. Something changed recently and today I cannot connect to the docker daemon.

Example of withdrawal from the mode docker daemon --storage-driver=aufs

FATA[0001] Error starting daemon: error initializing graphdriver: driver not supported

All other answers to this question: a) rm -rf /var/lib/docker/aufs

, that is, start completely, or b) --storage-driver=overlay2

, start with a different storage driver. However, I don't want to lose my containers, and I haven't found a way to export them without a daemon working with the aufs storage driver.

I've been looking for solutions all the time. The official docs ( https://docs.docker.com/engine/userguide/storagedriver/aufs-driver/#configure-docker-with-the-aufs-storage-driver ) says my Debian version is supported (7.12) and supported my kernel version (3.16.0-0. bpo.4-amd64).

If I run the daemon with storage-driver = docker devicemapper connects as expected, however of course none of my containers exist as they are on AUFS system.

When I run /proc/filesystems | grep aufs

, the result is empty, however aufs is present as a module in /lib/modules/3.16.0-0.bpo.4-amd64/kernel/fs/aufs/aufs.ko

.

From the docker site, I downloaded and ran the script here: https://raw.githubusercontent.com/docker/docker/master/contrib/check-config.sh

The output includes: CONFIG_AUFS_FS: enabled (as module)

Other tips I have come across use modprobe

when I do sudo modprobe aufs

I get the error

ERROR: could not insert 'aufs': Unknown symbol in module, or unknown parameter (see dmesg)

and then dmesg | grep aufs

shows this error line:

aufs: Unknown symbol setfl (err 0)

From there I ran modinfo aufs

and got this block of output, which I frankly don't know what to do with:

filename: /lib/modules/3.16.0-0.bpo.4-amd64/kernel/fs/aufs/aufs.ko

setting: Y

alias: fs-aufs

version: 3.16-20140908 + setfl

description: aufs - Advanced Layered Unification File System

offered by Junjiro R. Okajima

license: GPL

srcversion: 986E0DDDAA9BDCB0E005DF4

depends:

intree: Y

vermagic: 3.16.0-0.bpo.4-amd64 Mod_unload SMP Mods

parm: brs: use / fs / aufs / si _ * / brN (int)

parm: allow_userns: allow unprivileged mounts under userns (bool)

I don't understand how to do this, I cannot tell if the error is with docker itself or with aufs dependency. I also don't know what could have changed in the last day or so to change the behavior of the system. I know I have multiple versions for some programs, what can I safely upgrade to work with docker again with aufs? Or what else can I try?

+3


source to share





All Articles