Pinning Docker Images to IPFS
Learn how to pin Docker images to IPFS.
What is IPDR?
1. Clone the ipdr GitHub repository:
ipdr GitHub repository:2. Then, move to the bin path:
3. Open a new command prompt and start the IPFS daemon with the following command:
4. Then, add docker.local to /etc/hosts:
docker.local to /etc/hosts:5. Create a new file called Dockerfile that contains the following text:
6. Build the Docker image with the command:
7. Then, run the Docker container to test its functionality:
8. Next, use IPDR to push your Docker container to IPFS:
9. Then, navigate to the Filebase web console dashboard. Select the Buckets option from the side bar menu, then select an IPFS bucket or create a new IPFS bucket.

10. Select ‘Upload’ in the upper right corner.

11. Then select ‘CID’:

12. Input the CID returned from the command line and provide a file name to be associated with the CID:

13. Once added, the file will be listed in your bucket:

Last updated