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.

💡Note: This guide works perfectly with the deprecated IPFS v.2.14.0 release.

💡Note: Check out my new guide on how to Install the Latest IPFS 4.3.2 Using Portainer.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Container Manager via Synology “Package Center”. If you run an older DSM version (under 7.2), search for Docker instead of Container Manager.

Download Container Manager Synology Docker

  • 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.

Synology User Defined Script

  • 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 IPFS. 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 new 2023

  • 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

After you click OK, type in your DSM Password then click Submit. Follow the instructions in the image below.

Synology Task Scheduler Confirm Admin Password

  • STEP 7

After you click Submit on STEP 6, select your “Install IPFS” Task then click the “Run” tab. You will be asked to run Install IPFS – click OK. 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!

🆘TROUBLESHOOTING

If you encounter issues by using this container, make sure to check out the Common Docker issues article.

Note: If you want to run IPFS over HTTPS, check How to Run Docker Containers Over HTTPS.
Note: Can I run Docker on my Synology NAS? See the supported models.
Note: How to Back Up Docker Containers on your Synology NAS.
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.
Note: How to Activate Email Notifications.
Note: How to Add Access Control Profile on Your NAS.
Note: How to Change Docker Containers Restart Policy.
Note: How to Use Docker Containers With VPN.
Note: Convert Docker Run Into Docker Compose.
Note: How to Clean Docker.
Note: How to Clean Docker Automatically.
Note: Best Practices When Using Docker and DDNS.
Note: Some Docker Containers Need WebSocket.
Note: Find out the Best NAS Models For Docker.
Note: Activate Gmail SMTP For Docker Containers.

This post was updated on Sunday / September 29th, 2024 at 1:38 PM