chrismurphy added a new comment to an issue you are following:
Am I missing something? Did I make some bad assumptions somewhere in this test?
Nope, works for me as well. /var is still a directory on the ext4 rootfs, but it
looks like a new LV Is created at 40% of the free space in the VG, formatted XFS, and
var-lib-docker.mount mounts it at /var/lib/docker; that mount file is created by the code
triggered by DOCKER_ROOT_VOLUME=yes.
I did additionally try a migrate from devicemapper to overlay2 using atomic storage export
+ reset + modify + import and it does work. There is no automatic space recapture of the
docker-root-lv LV however that could be deleted by the user after the modify step, reboot
so docker-storage-setup sets up the dm-thin pool, and then do the import. I'm assuming
in any case that there needs to be temp space somewhere for the exported containers.
To reply, visit the link below or just reply to this email