Docker is supposed to always be using aufs inside LXD containers, the
output above suggests it's not the case.

btrfs doesn't allow for unprivileged btrfs subvolume delete by default,
only subvolume creation (yes, that's a bit odd). So the failure you're
getting is absolutely normal except for the fact that I was told Docker
would always do aufs inside unprivileged LXD containers.

As a workaround to keep having docker do btrfs inside LXD, you may want
to change the host btrfs mountpoint to have user_subvol_rm_allowed as a
mount option, then restart the LXD container and it should be able to
both create and delete subvolumes.

Note that a bunch more btrfs functions will still fail in the container,
so it'll likely only make things slightly better for you.

** Package changed: lxd (Ubuntu) => docker.io (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1574363

Title:
  can't delete docker containers in lxd: Driver btrfs failed to remove
  root filesystem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1574363/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to