From 832d98f6932f9939ce0615ff7b533cdea1acfc82 Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Mon, 28 Sep 2020 12:07:52 +0800 Subject: [PATCH] [bugfix] fix confliction between snap docker and apt docker.io --- apps/docker.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/docker.sh b/apps/docker.sh index 0f9020b..8c3b6c1 100755 --- a/apps/docker.sh +++ b/apps/docker.sh @@ -7,6 +7,8 @@ DIR=$(readlink -f $(dirname $0)) # install docker case "$PM" in apt) + # snap docker will intefere native docker.io, must be dealt with + sudo snap remove --purge docker sudo apt install -y docker.io docker-compose ! which pip3 && $ROOT/python/install.sh sudo pip3 install docker-compose