Symptoms:
- When you try to pull any image from the VIC Appliance Harbor registry using a VCH (Virtual Container Host), you receive the following error:
root@PhotonJumpBox [ ~/vic ]# docker -H VCH_IP:2376 --tls pull VIC_APPLIANCE_FQDN/default-project/alpine
Using default tag: latest
latest: Pulling from default-project/alpine
e6b0cf9c0882: Pulling fs layer
a3ed95caeb02: Downloading [==================================================>] 32B/32B
default-project/alpine/cc327eed37d32c79a81925daeedce436c929741892ca53c4b6abbe19e03acf97 returned download failed: unexpected EOF
- When you try to pull any image from dockerhub using a VCH, it works fine :
root@PhotonJumpBox [ ~/vic ]# docker -H 192.168.100.50:2376 --tls pull alpine
Using default tag: latest
latest: Pulling from library/alpine
c9b1b535fdd9: Pull complete
a3ed95caeb02: Pull complete
Digest: sha256:ddba4d27a7ffc3f86dd6c2f92041af252a1f23a8e742c90e6e1297bfa1bc0c45
Status: Downloaded newer image for library/alpine:latest
- While using a Docker client, you can pull the images from VIC Appliance registry.
root@PhotonJumpBox [ ~/vic ]# docker pull vicappliance00.gsslabs.org/default-project/alpine
Using default tag: latest
latest: Pulling from default-project/alpine
e6b0cf9c0882: Pull complete
Digest: sha256:3983cc12fb9dc20a009340149e382a18de6a8261b0ac0e8f5fcdf11f8dd5937e
Status: Downloaded newer image for vicappliance00.gsslabs.org/default-project/alpine:latest
- In /var/log/vic/docker-personality.log on the VCH, you can see similar entries:
Feb 17 2020 15:46:04.908Z ERROR Fetch (https://VIC_APPLIANCE_FQDN/project/blobs/sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4) to file failed to stream to file: unexpected EOF
Feb 17 2020 15:46:04.908Z DEBUG op=2308.200: [ END ] [VIC_APPLIANCE_FQDN/pkg/fetcher.(*URLFetcher).fetchToFile:324] [104.805863ms]
https://VIC_APPLIANCE_FQDN/project/blobs/sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
Feb 17 2020 15:46:04.908Z DEBUG Error: download failed: unexpected EOF
Feb 17 2020 15:46:04.908Z DEBUG op=2308.199: [ END ] [VIC_APPLIANCE_FQDN/pkg/fetcher.(*URLFetcher).Fetch:138] [104.851519ms]
https://VIC_APPLIANCE_FQDN/project/blobs/sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
You can access the VCH logs either using the VCH Admin page : https://VCH_IP:2378
Or you can enable SSH on the VCH, using the vic-machine-OS command line, using the following steps on the documentation below: