1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

docker 18.0.9.8 にアップデートがかかってdockerが使えなくなった。

Posted at

現象

Ubuntu18.04でdocker-ceをインストールして使っていました。
以前は平気で使えていたdockerが急に


docker ps
> Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

と言い出しました。

Qiitaのこの記事やいろんな記事を参考にしたのですが、解決しませんでした。

解決へ (ダウングレード)

そもそも何が起きたのか/var/log/dpkg.logを見ると、数日前にdocker-ce:amd64 5:18.09.8~3-0~ubuntu-bionicにアップロードされたことがわかりました。
いろいろ調べても治らないので、
このgithubのissueを参考に、dockerのバージョンをダウングレードしました。
[Ubuntu] apt-get まとめを参考に、
sudo apt-cache policy docker-ceでインストール可能なdockerのバージョンが出てきます。
sudo apt install docker-ce=5:18.09.1~3-0~ubuntu-bionicとしてやってガイドに乗っていくと直りました。(Ubuntu 18.04 を使っているのでgithubのxenialをbionicに変えました。)

1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?