_Originally posted by @micahstubbs in https://github.com/pol-is/polis/issues/734#issuecomment-760004126_
made it this far, will add this comment as a bookmark for my repro efforts:
git clone [email protected]:pol-is/polis.git
cd polis
docker-compose up --detach
Then I see:
Skipping 'fsevents' build as platform linux is not supported
npm WARN lifecycle [email protected]~postinstall: cannot run in wd [email protected] npm run build (wd=/app)
added 1034 packages in 24.201s
ERROR: Service 'client-report' failed to build : sync /var/lib/docker/image/overlay2/layerdb/tmp/write-set-966991775/diff: input/output err
Hey @micahstubbs. Thanks for trying this out.
I'm not sure why the client-report isn't building for you. I just recloned and ran from scratch and couldn't reproduce. I'm also on Linux, FWIW, and the fsevents thing should be optional.
Would you please check a few things for us?
/var/lib/docker/image/... file?npm run build from within the client-report directory (sans docker)?docker-compose up --scale polis-client-report=0?Thanks again!
Also, docker and docker-compose versions?
Thinking this might address it btw: https://github.com/docker/for-mac/issues/1396#issuecomment-284471057
Thanks @patcon.
I'm not sure if that's the same issue, but could be worth trying if nothing else works.
Heh yeah, def the "have you tried turning it on and then off again" of overlayFS 馃
FWIW, this issue seems to have been that @micahstubbs didn't have enough hard drive space for the images to build. This is similar to the error @colinmegill had getting the docker setup to work on his smaller machine.
Thanks folks!
Yeah, these images get big when rebuilding often. A makefile with some helpers would make this simpler. Found an even better one to steal from:
https://github.com/bitspossessed/culturestake-provisioning/blob/master/Makefile


Most helpful comment
FWIW, this issue seems to have been that @micahstubbs didn't have enough hard drive space for the images to build. This is similar to the error @colinmegill had getting the docker setup to work on his smaller machine.
Thanks folks!