Docker Community Forums

Share and learn in the Docker community.

Docker push over http

Hi everyone.

I would like to push my builded image to my VPS where I have Docker registry up and go.
When I push that image after I tag it, it says:

http: server gave HTTP response to HTTPS client

What should I do with this?

Thank you.

This should do the trick:

While this seems like an option, I don’t think it will help me inside workflow of Github Action (I forgot to mention I am working here with Github Actions) cause I can’t configure stuff like that there…as far as I know.

The link should give you an idea of what needs to be done, regardless wether you have control of the file OR the registry server.

Add certificates to your registry and enable https. Even better use a registry that supports authentification like Harbour, Artifactory Container Registry or the build in registries of Nexus/Gitlab and use it with a certificate to make it reachable via https.

Those are the options you have.