私はCentos7
上のyumからして、インストールスクリプトからdocker
をインストールしようとしたし、それらの両方が同じエラーを与える:インストールドッキングウィンドウ:ドッキングウィンドウ-selinux-とのドッキングウィンドウ-エンジン-selinuxを競合*
Error: docker-engine-selinux conflicts with docker-selinux-1.10.3-44.el7.centos.x86_64
これを修正してドッカーをインストールする方法を理解できません。
フル・エラートレースバック:トップの答えは動作しない場合
[[email protected]]# wget -qO- https://get.docker.com/ | sh
/usr/bin/docker: line 13: /usr/bin/docker-latest: No such file or directory
sh: line 149: [: -lt: unary operator expected
sh: line 153: [: -le: unary operator expected
Warning: the "docker" command appears to already exist on this system.
If you already have Docker installed, this script can cause trouble, which is
why we're displaying this warning and provide the opportunity to cancel the
installation.
If you installed the current Docker package using this script and are using it
again to update Docker, you can safely ignore this message.
You may press Ctrl+C now to abort this script.
+ sleep 20
+ sh -c 'sleep 3; yum -y -q install docker-engine'
Error: docker-engine-selinux conflicts with docker-selinux-1.10.3-44.el7.centos.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
代わり
yum remove docker-engine-selinux
を試してみてくださいコードは、多くの場合、自分自身のために話すが、それはあなたのコードにいくつかの説明を追加するために良いことです。これは、レビュー専用のキューにポップアップされました。コード専用の回答が多いようです。 – Will