1. Yes.
I used docker to create Yocto images for many reasons, always with positive results.
2. Yes, with some work.
, Yocto , , , " ". ${BUILDDIR}/sstate-cache, , . .
1 sstate mirror:
, , .
local.conf:
SSTATE_MIRRORS ?= "\
file://.* http://my.shared-computer.com/some-folder/PATH"
. . .
2 sstate-cache .
docker sstate-cache ( , /opt ):
RUN mkdir -p /opt/yocto/sstate-cache
, , :
docker run ... -v /place/to/save/cache:/opt/yocto/sstate-cache
local.conf , :
SSTATE_DIR ?= "/opt/yocto/sstate-cache"
, , (scp, nfs, sneakernet).
, !