Fabian Peter Hammerle 5c4f14b91d added env var $IPFS_BOOTSTRAP_ADD to add bootstrap nodes | 5 år sedan | |
---|---|---|
Dockerfile | 5 år sedan | |
README.md | 5 år sedan | |
entrypoint.sh | 5 år sedan |
docker hub: https://hub.docker.com/r/fphammerle/ipfs/
docker run --name ipfs fphammerle/ipfs
docker run --name ipfs \
--cap-drop=all --security-opt=no-new-privileges \
--detach --restart=unless-stopped \
fphammerle/ipfs:latest
docker run --name ipfs \
--env IPFS_BOOTSTRAP_ADD='/dnsaddr/ipfs1.net/tcp/4001/QmPeerId /dnsaddr/ipfs2.net/tcp/4001/QmPeerId' \
fphammerle/ipfs:latest
xsel -b | sudo docker exec -i ipfs ipfs add -