What is the suggested way to debug docker private registry?
I have tried both, http and https configurations. Both result in:
docker push localhost:5000/myfirstimage
The push refers to repository [localhost:5000/myfirstimage]
Get http://localhost:5000/v2/: dial tcp [::1]:5000: getsockopt: connection refused`
The registry outputs just a periodic debug message:
registry_1 | time="2018-04-27T16:22:09.435247529Z" level=debug msg="filesystem.Stat(\"/\")"
go.version=go1.7.6 instance.id=018c6147-b169-4381-ad75-8b184317e712 service=registry
trace.duration=342.953µs
trace.file="/go/src/github.com/docker/distribution/registry/storage/driver/base/base.go"
trace.func="github.com/docker/distribution/registry/storage/driver/base.(*Base).Stat" trace.id=59e8b015-a9ef-
4ec6-aa44-273faa087f67 trace.line=137 version=v2.6.2
Otherwise I see it happily starting up:
registry_1 | time="2018-04-27T16:15:09.436655579Z" level=info msg="listening on [::]:5000, tls"
go.version=go1.7.6 instance.id=018c6147-b169-4381-ad75-8b184317e712 service=registry version=v2.6.2