offchain::ipfs
offchain::ipfsis Substrate, infused with IPFS.
The image comes with two binaries:
node-template contains our custom pallet to preview the Offchain::ipfs
functionalities through transactionssubstrate binary does not have our custom pallets to interact with the IPFS node,
instead you can connect to it through its multiaddrThe image exposes ports 9944 for WebSockets, 9933 for RPC, 30333 for p2p, and 9615 for
Prometheus.
The default command for the image is:
node-template --ws-external --rpc-external --base-path=/offchain-ipfs --dev
Run the default like so:
docker run -p 9944:9944 \
-p 9933:9933 \
-p 30333:30333 \
-p 9615:9615 \
-it \
--rm \
--name node-template \
eqlabs/offchain-ipfs
To override the default and run substrate, for example:
docker run \
-p 9944:9944 \
-p 9933:9933 \
-p 30333:30333 \
-p 9615:9615 \
-it \
--rm \
--name sub-ipfs \
offchain-ipfs \
substrate
This will work with any arguments you'd normally pass to substrate
To run with persistent storage volume between containers, first create a volume:
docker volume create offchain-ipfs-vol
Then add -v offchain-ipfs-vol:/offchain-ipfs to the docker run commands above.
Content type
Image
Digest
Size
47.6 MB
Last updated
almost 6 years ago
docker pull eqlabs/offchain-ipfs