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.
Install Docker via Synology “Package Center”.
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.
Go to Control Panel / Task Scheduler / Create / Scheduled Task / User-defined script. Follow the instructions in the images below.
Once you click on User-defined script a new window will open. Follow the instructions below:
- General: In the Task field type in Install Transmission. Uncheck “Enabled” option. Select root User.
- Schedule: Select Run on the following date then select “Do not repeat“.
- 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).
After you click OK on STEP 5 a new warning pop up window will open. Click OK.
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.
Go back to STEP 1 or you will deal with karma 🙂
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.
If everything goes right, you will see this page.
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.
Copy the link. Follow the instructions in the image below.
Paste your link into the browser or share it to your friends.
You can see all PEERS connected to the InterPlanetary File System.
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.
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: 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 Monday / January 30th, 2023 at 6:03 PM