When creating a compose the desired image size can be set. If the image type is a VHD the image size is rounded up to the nearest MB since all VHDs on Azure must have a virtual size aligned to 1 MB.