When pulling from a registry we get a compressed tar archive, so we need to wrap the stream in the right kind of compress reader. Unfortunately go doesn't have an Xz decompression method, but I don't think any docker layers use that atm anyway. Upstream-commit: a96a26c62f6333e61134759256db43a7f5946631 Component: engine