Diego Docker private repository not working


Anuj Jain <anuj17280@...>
 

Hi,

I could not able to run docker containers using docker's v2 private
repository - I am using CF V226, Diego V0.1443.0 and Diego docker cache
V0.1021.0 (with stemcell V3146 - across all components).

I also found on your site that private is not supported with V2 yet (
https://docs.pivotal.io/pivotalcf/concepts/docker.html and/or
https://github.com/cloudfoundry-incubator/docker_app_lifecycle/issues/5) -
please confirm is that still the case or is there any workaround.

I can launch the docker app/container from Docker Hub public v2 registory
- but while trying to use with private it is giving following error:

=============
ef797df93a34: Pull complete
af28fa31b54b: Pull complete
Digest:
sha256:e45cc262f5d783ecbe07b7fe1a634342205d4a9eae209f9a9731a94b09493146
Status: Downloaded newer image for anuj17280/public:v1
Docker image pulled.
Docker image will be cached as
docker-registry.service.cf.internal:8080/b0aad5a4-50e7-46d7-7085-b7e7fb0b2abf
Tagging docker image anuj17280/public:v1 as
docker-registry.service.cf.internal:8080/b0aad5a4-50e7-46d7-7085-b7e7fb0b2abf
...
Docker image tagged.
Pushing docker image
docker-registry.service.cf.internal:8080/b0aad5a4-50e7-46d7-7085-b7e7fb0b2abf
The push refers to a repository
[docker-registry.service.cf.internal:8080/b0aad5a4-50e7-46d7-7085-b7e7fb0b2abf]
(len: 1)
unable to ping registry endpoint
https://docker-registry.service.cf.internal:8080/v0/
v2 ping attempt failed with error: Get
https://docker-registry.service.cf.internal:8080/v2/: tls: oversized record
received with length 20527
v1 ping attempt failed with error: Get
https://docker-registry.service.cf.internal:8080/v1/_ping: tls: oversized
record received with length 20527
failed to cache image anuj17280/public:v1 exit status 1
Staging process failed: Exit trace for group:
builder exited with error: exit status 1
docker_daemon exited with nil
Exit status 2
Staging Failed: Exited with status 2

FAILED
StagingError
============================



- Anuj

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.