Import image with dockerd in chroot

Hi

I build the linux distribution LiveRaizo : LiveRaizo
This distribution includes already a QEmu VM.

I want to add also a docker VM, the same as the QEmu VM.

To build LiveRaizo, i use “live-build” of Debian.
But “live-build” runs script hooks with chroot.

Then, when i import the image :

docker import - vmraizo:last < images.tgz

This command shows this error message :

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Then i start before dockerd with this command

dockerd -H unix:///var/run/docker.sock

But the import fails again with this error message :

ERRO[2022-02-19T18:45:16.178950971Z] Handler for POST /v1.41/images/create returned error: Error processing tar file(exit status 1): remount /, flags: 0x84000: invalid argument
Error response from daemon: Error processing tar file(exit status 1): remount /, flags: 0x84000: invalid argument

Do you know a method to import an image in chroot ? (When the distribution is build, the docker image will be run normally)

I use Docker version 20.10.12, build e91ed57

Thanks