Note that even raw files are sparse in that unused blocks are not actually allocated. Also note that the loopback driver will turn discards into "hole punching", which essentially means running fstrim inside a container may reduce the amount of physical space consumed by the .raw file.