From 00177d9b482754191cf7d87f2cc97f22f025298b Mon Sep 17 00:00:00 2001 From: Jochen Schalanda Date: Wed, 6 Nov 2024 15:38:25 +0100 Subject: [PATCH] docs: warning message for Snap approach on Ubuntu/Debian (wagoodman/dive#552) https://github.com/wagoodman/dive/issues/546 demonstrates the trouble it may cause. Co-authored-by: Zhang Yuanfeng <71358306+YuanfengZhang@users.noreply.github.com> --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 73518a03..3ac49c4c 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,12 @@ sudo snap connect dive:docker-executables docker:docker-executables sudo snap connect dive:docker-daemon docker:docker-daemon ``` +> [!CAUTION] +> The Snap method is not recommended if you installed Docker via `apt-get`, since it might break your existing Docker daemon. +> +> See also: https://github.com/wagoodman/dive/issues/546 + + **RHEL/Centos** ```bash DIVE_VERSION=$(curl -sL "https://api.github.com/repos/wagoodman/dive/releases/latest" | grep '"tag_name":' | sed -E 's/.*"v([^"]+)".*/\1/')