Skip to content

Commit

Permalink
docs: warning message for Snap approach on Ubuntu/Debian (wagoodman#552)
Browse files Browse the repository at this point in the history
wagoodman#546 demonstrates the trouble it may cause.

Co-authored-by: Zhang Yuanfeng <[email protected]>
  • Loading branch information
joschi and YuanfengZhang committed Nov 7, 2024
1 parent 2dd86f5 commit 3a52e9f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/')
Expand Down

0 comments on commit 3a52e9f

Please sign in to comment.