I use yocto build(Kirkstone branch) for creating Kernel and Rootfs images to be used in CM4 module. I use core-image-minimal which produces a nice 30M (Kernel + RFS) image. But when is include docker with:
IMAGE_INSTALL:append = " python3-docker-compose"
IMAGE_INSTALL:append = " docker-ce"
The image size increases by 320M(Kernel + RFS). Is there a way to remove some unnecessary components from docker? I am quite new to docker and its internal components.
I have fixed offsets in by boot loader, so, I am finding it hard to boot the board with the new Kernel and RFS.
Any help will be greatly appreciated. Thanks.