@cryptotaxi247 / kubo / commits / 2a871ef01

docs: add Snap note about customizing IPFS_PATH (#8584)

Gus Eggert committed Jan 6, 2022 at 08:58 UTC 2a871ef0184da3b021209881dfa48e3cfdaa9d26
1 file changed +6
README.md
+6
@@ -166,6 +166,12 @@ With snap, in any of the [supported Linux distributions](https://snapcraft.io/do
166 $ sudo snap install ipfs
167 ```
168
169 +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:
170 +
171 +```sudo mount --bind ~/.ipfs ~/snap/ipfs/common```
172 +
173 +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.
174 +
175 #### macOS package managers
176
177 - [MacPorts](#macports)