JARVIS icon indicating copy to clipboard operation
JARVIS copied to clipboard

The hugging face docker image is invalid and failed to start

Open Jeffwan opened this issue 2 years ago • 3 comments

docker run -it -p 7860:7860 --platform=linux/amd64 registry.hf.space/microsoft-hugginggpt:latest python app.py
Unable to find image 'registry.hf.space/microsoft-hugginggpt:latest' locally
latest: Pulling from microsoft-hugginggpt
fb668870d8a7: Pull complete
8a612414e2bc: Pull complete
2c12f5dee74d: Pull complete
e8b64516db7f: Pull complete
5063cc75a5fc: Pull complete
0b5eea1e39eb: Pull complete
19026083d6ce: Pull complete
9ec6d9577f70: Pull complete
4d04e22a64a3: Pull complete
c89166c8ea49: Pull complete
76b0ea444c14: Pull complete
bc5a04c3e525: Pull complete
c88465465397: Extracting  263.3MB/263.3MB
cfc4dc6cd9f0: Download complete
5f19ae8f3203: Download complete
a8272de485bf: Download complete
901de9cc95bb: Download complete
f6de10b5e4af: Download complete
46995db4b389: Download complete
d12b2111ec90: Download complete
7755f20f43c0: Download complete
b6f73bb93556: Download complete
e584e685badb: Download complete
docker: failed to register layer: Error processing tar file(exit status 1): archive/tar: invalid tar header.
See 'docker run --help'.

Jeffwan avatar Apr 17 '23 17:04 Jeffwan

same error

docker run -it -p 7860:7860 --platform=linux/amd64 registry.hf.space/microsoft-hugginggpt:latest python app.py
Unable to find image 'registry.hf.space/microsoft-hugginggpt:latest' locally
latest: Pulling from microsoft-hugginggpt
...
docker: failed to register layer: ApplyLayer exit status 1 stdout:  stderr: archive/tar: invalid tar header.
See 'docker run --help'.

DrEVILish avatar Apr 21 '23 16:04 DrEVILish

Same issue here.

failed to register layer: ApplyLayer exit status 1 stdout: stderr: archive/tar: invalid tar header

gaocegege avatar Apr 23 '23 08:04 gaocegege

You could use containerd instead of docker. It works well.

gaocegege avatar May 19 '23 01:05 gaocegege