You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a tar file which is 1.1gb, it fails to send to docker due to stack below. Is there a way to do this streaming and not using fs.readFileSync?
dockerode called like so:
docker.buildImage('file.tar', cb)
stack
buffer.js:194
this.parent = new SlowBuffer(this.length);
^
RangeError: length > kMaxLength
at new Buffer (buffer.js:194:21)
at Object.fs.readFileSync (fs.js:309:16)
at Modem.dial (/source/node_modules/dockerode/node_modules/docker-modem/lib/modem.js:117:17)
at Docker.buildImage (/source/node_modules/dockerode/lib/docker.js:146:14)
at Builder.startImageBuild (/source/lib/steps/build.js:45:15)
The text was updated successfully, but these errors were encountered:
I have a tar file which is 1.1gb, it fails to send to docker due to stack below. Is there a way to do this streaming and not using
fs.readFileSync
?dockerode called like so:
stack
The text was updated successfully, but these errors were encountered: