LoginSignup
10
5

More than 3 years have passed since last update.

curlを使って、docker gpgダウンロード時にエラーになることがあった際の解決メモ

Posted at

curlを使って、docker gpgダウンロード時にエラーになることがあった際の解決メモです

$ curl -fsSL http://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number
gpg: no valid OpenPGP data found.

以下とするとダウンロードできることがある

wget http://download.docker.com/linux/ubuntu/gpg
sudo apt-key add gpg

プロキシ環境下なら、以下のようにproxyサーバを指定すると解決するかも

$ curl http://download.docker.com/linux/ubuntu/gpg -x http://xxx.xxx.xxx.xxx:portno

参考

gpg: 有効なOpenPGPデータが見つかりません
curlコマンドにてproxy設定

10
5
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
10
5