joshuacox / mkdomoticz

Make a persistent domoticz container PDQ
GNU General Public License v3.0
16 stars 28 forks source link

" invalid tar header" on latest hyriotOS - hypriotos-rpi-v1.8.0-rc2.img.zip #4

Closed kofec closed 6 years ago

kofec commented 6 years ago
$ docker run --name=domoticz         --privileged         --cidfile="cid"         -d         -p 8080:8080         -t joshuacox/mkdomoticz:arm
Unable to find image 'joshuacox/mkdomoticz:arm' locally
arm: Pulling from joshuacox/mkdomoticz
8d1b22c79612: Extracting [==================================================>]  140.5MB/140.5MB
c5a849e7f0d1: Download complete 
4c534d38e9da: Download complete 
docker: failed to register layer: Error processing tar file(exit status 1): archive/tar: invalid tar header.
See 'docker run --help'.

other docker seems to be fine:

$ docker run -d -p 80:80 hypriot/rpi-busybox-httpd
Unable to find image 'hypriot/rpi-busybox-httpd:latest' locally
latest: Pulling from hypriot/rpi-busybox-httpd
c74a9c6a645f: Pull complete 
6f1938f6d8ae: Pull complete 
e1347d4747a6: Pull complete 
a3ed95caeb02: Pull complete 
Digest: sha256:c00342f952d97628bf5dda457d3b409c37df687c859df82b9424f61264f54cd1
Status: Downloaded newer image for hypriot/rpi-busybox-httpd:latest
ce43188a7747e24f1af4d0648b83c81366812fd5ad1185e47bcdf4d25de6911b
joshuacox commented 6 years ago

I'm going to rebuild the image and I'll update here when done, (it takes quite awhile for the pi to compile ~8 hours)

you can try yoursefl by checking out the local-stretch branch and ./build.sh

kofec commented 6 years ago

I'm not sure what is the process of image docker creation but on docker HUB only the images for x86 is created right ? https://hub.docker.com/r/joshuacox/mkdomoticz/builds/

joshuacox commented 6 years ago

yep, that is why I'm compiling directly on a raspberrypi2, and looks like disc keeps filling up on my rpi and that is the real issue, lemme rebuild again I'll upload this evening.

joshuacox commented 6 years ago

https://hub.docker.com/r/joshuacox/mkdomoticz/tags/ uploaded a fresh copy to the 'arm' tag, @kofec can you test for me?

kofec commented 6 years ago

Thanks a lot. Installation is fine so I close that ticket - I will test the image.

HypriotOS/armv6: pirate@black-pearl in ~
$ docker run --name=domoticz         --privileged         --cidfile="cid"         -d         -p 8080:8080         -t joshuacox/mkdomoticz:arm
Unable to find image 'joshuacox/mkdomoticz:arm' locally
arm: Pulling from joshuacox/mkdomoticz
8d1b22c79612: Pull complete 
f8146810101d: Pull complete 
4c534d38e9da: Pull complete 
Digest: sha256:5fd5fbeb018a6e8961c3007a4442fbe9946b81d4a53d0ebe40fdbf740cd2302f
Status: Downloaded newer image for joshuacox/mkdomoticz:arm
64c41d9e1fe07b1f4ea4ec56f6ceae3bb39af2abfe9dfc1825ce8902d5267b67