1

I was following along with this tutorial to run a polkadot relay chain and connect a substrate parachain to it.

I wonder, it there is a docker image available? so that we can spin a substrate parachain node connected to a polkadot relay chain with just one docker command.

1 Answer 1

1

Previously to run a relay chain and connect a parachain to it you could use polkadot-launch, but that has been deprecated in favour of your choice of either zombienet or parachain-launch. parachain-launch allows you to start them with a single docker command.

2
  • I have my own development environment. Where I have deployed the polka dot relaychain up and running. I have my own parachain (that is obviously forked from substrate-node). I wanted to give user a docker command so that they can spin one parachain node that connects to the polka dot relay chain running in my environment. How can I achieve that, what are the rough steps involved? Commented Mar 25, 2023 at 21:38
  • On the basis that you want to connect to a polkadot relay-chain node that is already running. I'd suggest using this example dockerfile github.com/paritytech/cumulus/blob/master/docker/… but copying across your your own parachain into the container instead of cumulus. Then you want to build the container similar to scripts github.com/paritytech/cumulus/tree/master/docker/scripts, then to connect to the external relay chain node pass arguments like github.com/paritytech/cumulus#external-relay-chain-node at the end of docker run Commented Mar 26, 2023 at 1:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.