diff --git a/lib/docker-json-client.js b/lib/docker-json-client.js
index <HASH>..<HASH> 100644
--- a/lib/docker-json-client.js
+++ b/lib/docker-json-client.js
@@ -199,7 +199,7 @@ DockerJsonClient.prototype.parse = function parse(req, callback) {
 
         res.on('data', function onData(chunk) {
             if (contentMd5Hash) {
-                contentMd5Hash.update(chunk);
+                contentMd5Hash.update(chunk.toString('utf8'));
             }
 
             if (gz) {
encode content as utf-8 for content-md5 checking

Somewhat inferred from <URL>