项目作者: fphammerle

项目描述 :
golang-implementation of the interplanetary file system daemon (go-ipfs) 🐳 🐙 🌌
高级语言: Dockerfile
项目地址: git://github.com/fphammerle/docker-ipfs.git
创建时间: 2019-04-21T19:39:08Z
项目社区:https://github.com/fphammerle/docker-ipfs

开源协议:

下载


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

  1. docker run --name ipfs fphammerle/ipfs

or after cloning the repository:

  1. docker-compose up

Restart Automatically

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

Publish HTTP Gateway

  1. docker run -e IPFS_GATEWAY_ADDR=/ip4/0.0.0.0/tcp/8080 -p 8080:8080

Change Swarm Listener Ports

  1. docker run -e IPFS_SWARM_ADDRS="/ip4/0.0.0.0/tcp/4021 /ip6/::/tcp/4021"

Disable Swarm Listener

  1. docker run -e IPFS_SWARM_ADDRS=""

Add Bootstrap Nodes / Peers

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

Disable API Access From Host

  1. docker run -e IPFS_API_ADDR=/ip4/127.0.0.1/tcp/5001

Publish Clipboard

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