LoginSignup
6
4

More than 5 years have passed since last update.

Dockerで"http: server gave HTTP response to HTTPS client"なるエラーが発生したときの対処法

Last updated at Posted at 2016-08-25

HTTPSをサポートしていないDockerサーバに接続しようとした際に http: server gave HTTP response to HTTPS client なるエラーが発生することがあります。これは DOCKER_CERT_PATHDOCKER_TLS_VERIFY 環境変数が設定されていることで発生します。

対処方法

環境変数を消す

unset DOCKER_TLS_VERIFY
unset DOCKER_CERT_PATH

これで接続できるようになります。

6
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
4