portworx / lcfs

LCFS Graph driver for Docker
Apache License 2.0
300 stars 27 forks source link

docker commit speed with lcfs #48

Closed p3x-robot closed 6 years ago

p3x-robot commented 6 years ago

Ciao!

How are you?

I have build ofteh 6 containers - 15 hours at once with overlay2. Each built container is about 50 gigabytes. That's is ok. But when I commit all at once (in parallel), in 20 hoursm it hasn't commited any of one. Looks like either blocked or just slow.

Is lcfs faster with the docker commit? Beacuse it is very bad (of course not ssd, hdd of course, becasuse they are huge - for LEDE and OpenWrt).

Thanks, Patrik

jjobi commented 6 years ago

In general, LCFS should be faster than other storage drivers in building Docker containers. You are welcome to try it out.

Also please take a look at these https://github.com/moby/moby/issues/31953 https://portworx.com/lcfs-speed-up-docker-commit/

PS: You could also enable the faster version of Docker commit with lcfs, by specifying -s as CLI option with lcfs, if the images are temporary, meaning not intended for saving/pushing.