README.md 630 B

docker container: ipfs daemon

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

example: short

docker run --name ipfs fphammerle/ipfs

example: restart automatically

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

example: 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 -