chore: Adds instructions for snap installation (#484)
This commit is contained in:
parent
5d6a406df1
commit
2d86aa7b4c
10
README.md
10
README.md
@ -94,12 +94,22 @@ With valid `source` options as such:
|
||||
## Installation
|
||||
|
||||
**Ubuntu/Debian**
|
||||
|
||||
Using debs:
|
||||
```bash
|
||||
export DIVE_VERSION=$(curl -sL "https://api.github.com/repos/wagoodman/dive/releases/latest" | grep '"tag_name":' | sed -E 's/.*"v([^"]+)".*/\1/')
|
||||
curl -OL https://github.com/wagoodman/dive/releases/download/v${DIVE_VERSION}/dive_${DIVE_VERSION}_linux_amd64.deb
|
||||
sudo apt install ./dive_${DIVE_VERSION}_linux_amd64.deb
|
||||
```
|
||||
|
||||
Using snap:
|
||||
```bash
|
||||
sudo snap install docker
|
||||
sudo snap install dive
|
||||
sudo snap connect dive:docker-executables docker:docker-executables
|
||||
sudo snap connect dive:docker-daemon docker:docker-daemon
|
||||
```
|
||||
|
||||
**RHEL/Centos**
|
||||
```bash
|
||||
export DIVE_VERSION=$(curl -sL "https://api.github.com/repos/wagoodman/dive/releases/latest" | grep '"tag_name":' | sed -E 's/.*"v([^"]+)".*/\1/')
|
||||
|
Loading…
x
Reference in New Issue
Block a user