No Description

Fabian Peter Hammerle 8bf39b33f2 change default ipfs version to v0.12.0 2 years ago
.github 261efbc09d Bump docker/build-push-action from 2.8.0 to 2.9.0 2 years ago
CHANGELOG.md 897b0d2feb release v1.0.0 3 years ago
Dockerfile 8bf39b33f2 change default ipfs version to v0.12.0 2 years ago
Makefile 02d7d0dd96 makefile: fix detection of project version for v1.* 3 years ago
README.md 31519c6e4d readme: added links to swarm listener & bootstrap config docs 3 years ago
docker-compose.yml 470654bd86 docker-compose: read-only root filesystem 3 years ago
entrypoint.sh 0473a2b6d0 add comment with reference to `Peering.Peers` setting 2 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 -e IPFS_SWARM_ADDRS="/ip4/0.0.0.0/tcp/4021 /ip6/::/tcp/4021" …

Disable Swarm Listener

docker run -e IPFS_SWARM_ADDRS="" …

Add Bootstrap Nodes / Peers

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 -