Hi , i’m trying to push image on hub but getting below error
docker push 192.168.x.x:5000/test-alpine:v1
The push refers to repository [192.168.x.x:5000/test-alpine]
Get “https://192.168.x.x:5000/v2/”: http: server gave HTTP response to HTTPS client
Note : daemon.json contains following
path of daemon.josn file on windows
“insecure-registries”:[“192.168.x.x:5000”]
C:\Users\abc\Desktop\ProgramData\docker\config\daemon.json
Can anyone tell me , what am i missing
docker version - 24.0.7
The error message you’re seeing suggests that your Docker client is trying to push an image to a Docker registry using HTTPS, but the registry is not configured to handle HTTPS requests. This can happen if you’re running a registry without a proper SSL certificate and your Docker daemon is not configured to treat the registry as an insecure registry.