Error rebuilding - Cannot start container - connection reset by peer

Try @omfg’s recommendation in ENV, it may fix it … this is one crazy docker bug.