Thanks Driven Life

日々是感謝

Docker の apt repository が変わった? (気のせいでした)

$ sudo apt-get update
(snip)
W: https://get.docker.io/ubuntu/dists/docker/main/binary-amd64/Packages の取得に失敗しました  Protocol http not supported or disabled in libcurl

W: https://get.docker.io/ubuntu/dists/docker/main/binary-i386/Packages の取得に失敗しました  Protocol http not supported or disabled in libcurl

E: いくつかのインデックスファイルのダウンロードに失敗しました。これらは無視されるか、古いものが代わりに使われます

とりあえず Ubuntu - Docker Documentation を見て https://get.docker.io/ubuntu/ の中身を見たところ、確かに repository が変わってた。

- deb https://get.docker.io/ubuntu docker main
+ deb http://get.docker.com.s3-website-us-west-1.amazonaws.com/ubuntu docker main

もしかしたら get.docker.ioget.docker.com.s3-... を元々見てたのかもしれないし なんで変わったかよくわからないけど、とりあえず

$ curl -sSL https://get.docker.io/ubuntu/ | sudo sh

しとけば大丈夫なんだろうっていう感想

追記

記事書いた10秒後にもう一度確かめてみたら https://get.docker.io/ubuntu に戻ってた。一時的な物だったっぽ。