Skip to content

Commit

Permalink
docs: add Snap note about customizing IPFS_PATH (#8584)
Browse files Browse the repository at this point in the history
  • Loading branch information
guseggert authored Jan 6, 2022
1 parent 91c5265 commit 2a871ef
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 @@ -166,6 +166,12 @@ With snap, in any of the [supported Linux distributions](https://snapcraft.io/do
$ sudo snap install ipfs
```

The snap sets `IPFS_PATH` to `SNAP_USER_COMMON`, which is usually `~/snap/ipfs/common`. If you want to use `~/.ipfs` instead, you can bind-mount it to `~/snap/ipfs/common` like this:

```sudo mount --bind ~/.ipfs ~/snap/ipfs/common```

If you want something more sophisticated to escape the snap confinement, we recommend using a different method to install `go-ipfs` so that it is not subject to snap confinement.

#### macOS package managers

- [MacPorts](#macports)
Expand Down

0 comments on commit 2a871ef

Please sign in to comment.