Docker: error creating aufs mount to /var/lib/docker/aufs/mnt/15396ee0f38d161382f104e11c94b6ca0efafe10f9952e1dfba4f548009fbe59-init: invalid argument
Live usb is almost certainly not ext4, or one of the other supported filesystems. Most likely it's doing overlay, and I don't think you can mount an overlayfs on top of an overlayfs.
You can lookup your current filesystem for /var/lib/docker with a mount
command. E.g. in my local environment (I'm symlinked, hence the extra dot in my path and files showing in homelv):
# df /var/lib/docker/.Filesystem 1K-blocks Used Available Use% Mounted on/dev/mapper/bmitch--vg-homelv 720798904 437701948 246459468 64% /home# mount | grep /dev/mapper/bmitch/dev/mapper/bmitch--vg-homelv on /home type ext4 (rw,relatime,data=ordered)
Note the "type ext4" in the mount output.
Docker has a list of supported backing filesystems:
- overlay2, overlay: xfs with ftype=1, ext4
- aufs: xfs, ext4
- devicemapper: direct-lvm
- btrfs: btrfs
- zfs: zfs
- vfs: any filesystem