Skip to content
This repository has been archived by the owner on Jun 12, 2022. It is now read-only.
/ docker-ipfs Public archive

golang-implementation of the interplanetary file system daemon (go-ipfs) 🐳 πŸ™ 🌌

Notifications You must be signed in to change notification settings

fphammerle/docker-ipfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

91 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

docker: ipfs 🐳

golang-implementation of the interplanetary file system (ipfs) daemon

DEPRECATED since the official image now supports configuration via /container-init.d (docs, commit)

docker hub: https://hub.docker.com/r/fphammerle/ipfs/

signed docker image digests: https://github.com/fphammerle/docker-ipfs/tags

ipfs config: guide & docs

docker run --name ipfs fphammerle/ipfs

or after cloning the repository:

docker-compose up

Restart Automatically

docker run --name ipfs \
    --cap-drop=all --security-opt=no-new-privileges \
    --detach --restart=unless-stopped \
    fphammerle/ipfs:latest

Publish HTTP Gateway

docker run -e IPFS_GATEWAY_ADDR=/ip4/0.0.0.0/tcp/8080 -p 8080:8080 …
docker run -e IPFS_SWARM_ADDRS="/ip4/0.0.0.0/tcp/4021 /ip6/::/tcp/4021" …

Disable Swarm Listener

docker run -e IPFS_SWARM_ADDRS="" …
docker run -e IPFS_BOOTSTRAP_ADD='/dnsaddr/ipfs1.net/tcp/4001/QmPeerId /dnsaddr/ipfs2.net/tcp/4001/QmPeerId' …

Disable API Access From Host

docker run -e IPFS_API_ADDR=/ip4/127.0.0.1/tcp/5001 …

Publish Clipboard

xsel -b | sudo docker exec -i ipfs ipfs add -