2
4

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-ceをcentosにインストール手順メモ

Posted at

公式ドキュメント

  • docker-ceをCentOSにインストールする手順が載ってる。
  • しかしこの手順でyum install docker-ce-<version>を実行すると、conflictエラーが出ることがある。

対処法

  • --setopt=obsoletes=0オプションを入れ、古い依存パッケージをインストールしないと明示的にyumに教えてあげるとうまく動く
yum install -y --setopt=obsoletes=0 docker-ce-17.03.2.ce-1.el7.centos
  • このオプションは公式ドキュメントに書かれてなかった。
2
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
2
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?