Diego Docker private repository not working

Anuj Jain <anuj17280@...>


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
Status: Downloaded newer image for anuj17280/public:v1
Docker image pulled.
Docker image will be cached as
Tagging docker image anuj17280/public:v1 as
Docker image tagged.
Pushing docker image
The push refers to a repository
(len: 1)
unable to ping registry endpoint
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


- Anuj

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