docker-modem
docker-modem copied to clipboard
Bug: followProgress throw an error on exporting images
I'm using followProgress to write the data got from '/images/get?' to a tar, but it will throw SyntaxError: Unexpected number in JSON at position 1 when streaming the data.
The error happens on processLine (/node_modules/docker-modem/lib/modem.js:443:24)
Now I will use the stream.pipe instead.