How to Install IPFS on Your Synology NAS

How to Install IPFS on Your Synology NAS

The InterPlanetary File System “IPFS” is a protocol and peer-to-peer network for storing and sharing data in a distributed file system. IPFS uses content-addressing to uniquely identify each file in a global namespace connecting all computing devices. In this step by step guide I will show you how to install IPFS on your Synology NAS using Docker.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Docker via Synology “Package Center”.

Install Docker Synology DSM 7

  • STEP 3

Go to File Station and open the docker folder. Inside the docker folder, create one new folder and name it ipfs. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

IPFS Synology NAS Set up 1

  • STEP 4

Go to Control Panel / Task Scheduler / Create / Scheduled Task / User-defined script. Follow the instructions in the images below.

IPFS Synology NAS Set up 2

  • STEP 5

Once you click on User-defined script a new window will open. Follow the instructions below:

  1. General: In the Task field type in Install Transmission. Uncheck “Enabled” option. Select root User.
  2. Schedule: Select Run on the following date then select “Do not repeat“.
  3. Task Settings: Check “Send run details by email“, add your email then copy paste the code below in the Run command area. After that click OK.
docker run -d --name=ipfs \
-p 8111:80 \
-p 4005:4001 \
-p 5005:5001 \
-p 8422:8080 \
-p 7788:443 \
-e PUID=1026 \
-e PGID=100 \
-e TZ=Europe/Bucharest \
-v /volume1/docker/ipfs:/config \
--restart always \
ghcr.io/linuxserver/ipfs

Note: Before you paste the code above in the Run command area below, change the value numbers for PUID and PGID with your own values. (Follow my step by step guide on how to do this.)
Note: Before you paste the code above in the Run command area below, change the value for TZ (Select your current Time Zone from this list).

IPFS Synology NAS Set up 3

  • STEP 6

After you click OK on STEP 5 a new warning pop up window will open. Click OK.

IPFS Synology NAS Set up 4

  • STEP 7

After you click OK on STEP 6, select your “Install IPFS” Task then click the “Run” tab. You will be asked to run Install IPFS – click Yes. Follow the instructions in the image below.

IPFS Synology NAS Set up 5

  • STEP 8

Go back to STEP 1 or you will deal with karma 🙂

  • STEP 9

The installation process can take up to a few seconds/minutes. It will depend on your Internet speed connection. Now open your browser and type in http://Synology-ip-address:8111 at point 3 type in /ip4/yournasIP/tcp/5005 then click Submit. Note: change yournasIP with the Synology NAS IP address. Follow the instructions in the image below.

IPFS Synology NAS Set up 6

  • STEP 10

If everything goes right, you will see this page.

IPFS Synology NAS Set up 7

  • STEP 11

You can now import some files.  On the left sidebar go to Files then click Import. Select your file then click Share link. Follow the instructions in the image below.

IPFS Synology NAS Set up 8

  • STEP 12

Copy the link. Follow the instructions in the image below.

IPFS Synology NAS Set up 9

  • STEP 13

Paste your link into the browser or share it to your friends.

IPFS Synology NAS Set up 10

  • STEP 14

You can see all PEERS connected to the InterPlanetary File System.

IPFS Synology NAS Set up 11

Note: During the block of Wikipedia in Turkey, IPFS was used to create a mirror of Wikipedia, which allows access to the content of Wikipedia despite the ban.

Enjoy IPFS!

Note: If you want to run this container over an HTTPS check How to Run Docker Containers Over HTTPS.
Note: Can I run Docker on my Synology NAS? See the supported models.
Note: Find out how to update IPFS container with the latest image.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: How to Schedule Start & Stop For Docker Containers.

This post was updated on Thursday / October 21st, 2021 at 8:50 PM