FYI. I managed to make docker run work by putting
{ "storage-manager": "device-mapper" } In /etc/docker/daemon.json. But I imaging this is less efficient than aufs. Also error message could be a bit more descriptive, and recommend some solutions. On 1 Dec 2017 2:03 am, "Witold Baryluk" <witold.bary...@gmail.com> wrote: Package: docker-engine Version: 17.05.0~ce-0~debian-stretch Severity: normal Hi, I was trying to run some docker programs (benchmarks in particular) on a machine that I booted using Debian Stretch Live CD, and after installation using apt.dockerproject.org repos to install docker-engine, adjusting groups, and installing aufs, I got this: user@debian:~$ docker run --rm -it x/y <Pulling images ....> ... docker: Error response from daemon: error creating aufs mount to /var/lib/docker/aufs/mnt/1a6afb5b3077fe541918749fd87e68 c3dac7a1647f7d46417d3217da9005c065-init: invalid argument. See 'docker run --help'. $ # dmesg ... [ 2162.158988] aufs test_add:255:dockerd[19036]: already stacked, /var/lib/docker/tmp/docker-aufs-base911373706 (overlay) [ 2167.623460] aufs test_add:255:dockerd[18978]: already stacked, /var/lib/docker/aufs/diff/b67d6807b58fb8bd80bedfa39cbcaf 142bd586e9d343c53fd0f8c13b0a6c41f9-init (overlay) # Running Debian 9.1.0 (Stretch) amd64, MATE version in live mode. user@debian:~$ mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,relatime) udev on /dev type devtmpfs (rw,nosuid,relatime,size= 4017744k,nr_inodes=1004436,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime, gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=806292k,mode=755) /dev/sda1 on /lib/live/mount/medium type iso9660 (ro,noatime) /dev/loop0 on /lib/live/mount/rootfs/filesystem.squashfs type squashfs (ro,noatime) tmpfs on /lib/live/mount/overlay type tmpfs (rw,relatime) overlay on / type overlay (rw,noatime,lowerdir=// filesystem.squashfs/,upperdir=/live/overlay//rw,workdir=/live/overlay//work) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec, relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec, relatime,xattr,release_agent=/lib/systemd/systemd-cgroups- agent,name=systemd) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec, relatime) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec, relatime,perf_event) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec, relatime,memory) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec, relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec, relatime,pids) cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec, relatime,freezer) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec, relatime,devices) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec, relatime,blkio) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec, relatime,cpuset) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=27,pgrp=1, timeout=0,minproto=5,maxproto=5,direct,pipe_ino=10693) mqueue on /dev/mqueue type mqueue (rw,relatime) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime) debugfs on /sys/kernel/debug type debugfs (rw,relatime) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime) tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime, size=806288k,mode=700,uid=1000,gid=1000) overlay on /var/lib/docker/aufs type overlay (rw,noatime,lowerdir=// filesystem.squashfs/,upperdir=/live/overlay//rw,workdir=/live/overlay//work) $ Cheers. -- System Information: Debian Release: 9.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages docker-engine depends on: ii init-system-helpers 1.48 ii iptables 1.6.0+snapshot20161117-6 ii libapparmor1 2.11.0-3 ii libc6 2.24-11+deb9u1 ii libdevmapper1.02.1 2:1.02.137-2 ii libltdl7 2.4.6-2 ii libseccomp2 2.3.1-2.1 ii libsystemd0 232-25+deb9u1 Versions of packages docker-engine recommends: ii aufs-tools 1:4.1+20161219-1 ii ca-certificates 20161130+nmu1 ii cgroupfs-mount 1.3 ii git 1:2.11.0-3+deb9u2 ii xz-utils 5.2.2-1.2+b1 docker-engine suggests no packages. -- no debconf information