Hi Cliff

On 15.04.2016 03:44, Cliff Brake wrote:
> Hi,
>
> I've been using systemd-nspawn containers for OE builds for some
> years, and lately have been investigating Docker.  Seems like useful
> tool, but a little concerned about managing 35GB build trees in Docker
> (I already ran my workstation out of disk space once).
>
> Does anyone have any suggestions or tips for using Docker to host OE
> builds -- especially the storage aspect?
>
>
We are using docker to build several OE based products in conjunction with 
GitLab CI.
The only special thing we do at the moment it that we mount the sstate and 
download folder as a volume into the container.
This we do mostly to save some time.

But of course you need enough space in your docker runtime directory to store 
the docker containers while the builds are running. After that we (actually 
gitlab ci) usually delete the containers and the space gets freed again.

Pascal
-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to