No Description

Fabian Peter Hammerle 268045f63d default ipfs version v0.5.0 4 years ago
Dockerfile 268045f63d default ipfs version v0.5.0 4 years ago
README.md a2af3a6cf8 readme: added link to signed image digests 4 years ago
docker-compose.yml 648712f585 expose ipfs api port 5 years ago
entrypoint.sh 66e087d743 refactor: moved $IPFS_CONFIG_PATH definition from entrypoint to Dockerfile 5 years ago
ipfs-arch.sh a27ee2a2bf fixed ipfs-arch.sh 5 years ago

README.md

docker: ipfs 🐳

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

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

change swarm listener ports

docker run --name ipfs \
    --env IPFS_SWARM_ADDRS="/ip4/0.0.0.0/tcp/4021 /ip6/::/tcp/4021" \
    fphammerle/ipfs:latest

disable swarm listener

docker run --name ipfs \
    --env IPFS_SWARM_ADDRS="" \
    fphammerle/ipfs:latest

add bootstrap peers

docker run --name ipfs \
    --env IPFS_BOOTSTRAP_ADD='/dnsaddr/ipfs1.net/tcp/4001/QmPeerId /dnsaddr/ipfs2.net/tcp/4001/QmPeerId' \
    fphammerle/ipfs:latest

publish clipboard

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