Docker Community Forums

Share and learn in the Docker community.

Docker cannot use https by Settings


(Wgq890224) #1

Settings proxies use [https] by default

Always use http for seach/pull, and cause a error.

Information

Steps to reproduce the behavior

  1. open Settings > Proxies
  2. Disable Use same for bot.
  3. Use proxy server setting by:
    Http keep empty.
    Https input mirror url like : ***.mirror.aliyuncs.com
  4. Start cmd, and search images like dockers search redis;
    it response like this:
    Error response from daemon: Get https://index.docker.io/v1/search?q=redis&n=25: http: error connecting to proxy http://***.mirror.aliyuncs.com: dial tcp: i/o timeout.

It seems that it didn’t use https and cause an error.
what should i do to fixed this issue? should i just use docker-machine to create another machine to use https proxy?