I'm attaching a more self-contained test script that I've used to reproduce this on a xenial VM (it doesn't work with the lxd in eoan, for reasons trivial or deep, I have no idea).
I'm attaching a more self-contained test script that I've used to reproduce this on a xenial VM (it doesn't work with the lxd in eoan, for reasons trivial or deep, I have no idea).