Questions tagged [docker]

For questions about building and running Docker containers. Specifically in the context of substrate related softwares (nodes, UI, etc.)

Filter by
Sorted by
Tagged with
1 vote
1 answer
47 views

How to connect to a ws port whe nthe node is in a docker container

I have a Substrate node that I build locally and also into a docker container in CI. When I use my local build or when I use docker run --network host, I can connect to the websocket endpoint on port ...
JoshOrndorff's user avatar
  • 1,181
0 votes
1 answer
113 views

I want to get ws rpc url with the docker image for our substrate node

I'm in the process of creating a Docker image for our Substrate-node, and I used that following method to accomplish it. # This is an example build stage for the node template. Here we create the ...
Alan Ma's user avatar
  • 47
1 vote
1 answer
219 views

How to fix the problem to build docker image for the substrate-node-template

I try to build a docker image for the https://github.com/substrate-developer-hub/substrate-node-template. I used this file to do it. Dockerfile.dev. FROM paritytech/ci-linux:production as build ...
Alan Ma's user avatar
  • 47
0 votes
2 answers
47 views

How to run Containerfile inside node-template?

There is Containerfile inside substrate-node-template. What command should I use to run this file. Is the file is similar like DockerFile? I try to run using docker build -f Containerfile -t node-...
Ganesh11's user avatar
  • 1,241
2 votes
1 answer
208 views

I want to build a docker image for my substrate node

Now I am building a new docker image for my substrate node Docker version 24.0.5, build ced0996 Node version v18.16.1 I am using this Dockerfile.dev to build the docker image. FROM paritytech/ci-linux:...
Alan Ma's user avatar
  • 47
0 votes
1 answer
31 views

How to write Dockerfile to spin up substrate node template

How to write Dockerfile to spin up substrate node template, unit tests and/or integration tests, e2e tests, etc? Someone please suggest some resources.
Ganesh11's user avatar
  • 1,241
3 votes
1 answer
109 views

Substrate Node and Docker Compose

The docker-compose.yml file has been removed from the Substrate Node Template. I previously found that using Docker Compose is a great way to get started with the node. The docker-compose.yml file is ...
Anas Tiour's user avatar
3 votes
2 answers
140 views

cannot bind unix socket: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } error

I'm getting the following error while running rococo alice validator node in kubernetes cluster: cannot bind unix socket: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system&...
Oleg Kalenik's user avatar
1 vote
1 answer
77 views

How to spin a polkadot parachain node and connect it to polkadot relay chain using a docker binary

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 ...
Syed Kamran's user avatar
1 vote
1 answer
120 views

Error running substrate-node-template with Docker

I downloaded substrate node template from here. I am following the instructions given in the README and using following command to run the node in docker: ./scripts/docker_run.sh. It give the ...
Syed Kamran's user avatar
1 vote
1 answer
98 views

How to run a collator node for a parachain in Docker?

I'm working through the Acquire a testnet slot tutorial and used the following command to spin up a collator node: ./target/release/parachain-template-node --collator \ --chain raw-parachain-...
dbook's user avatar
  • 11
2 votes
1 answer
43 views

How to premine DOT on a local private network (local devnet)

I'm setting up a local-testnet with multiple nodes and would like to know if there is a way to premine DOT without using the UI Here is a copy of my docker-compose from following the steps on https://...
light yagami's user avatar
2 votes
0 answers
31 views

No new blocks with dockerized local RPC node

I want to run the substrate node locally(with docker) to use it as an RPC provider(via ws). I want to use "author.pendingExtrinsics" method as well as "chain.subscribeNewHeads" and ...
Denys Storozhenko's user avatar
2 votes
1 answer
235 views

How to run parachain node in Docker?

I'm trying to run a Statemint node using the parity/polkadot-parachain docker image. However, I get this error: docker run --rm -it --entrypoint bash parity/polkadot-parachain polkadot-parachain --...
joepetrowski's user avatar
  • 2,945
1 vote
3 answers
338 views

Docker container...-p 9944:9944 running Node Template not working on polkadot js apps

I'm trying to run a substrate node through docker container but i am not able to with this command: docker run -p 9944:9944 -p 30333:30333 -p 9933:9933 -p 9615:9615 docker.io/decentration/supersig-...
Ramsey - Decentration's user avatar
5 votes
1 answer
303 views

Build a docker file/image for my new pallet

I am using substrate-node-template and recently I added a new pallet. Now I need to build a docker file because I would like to send it for testing. Any information? Thank you.
P.E's user avatar
  • 181
1 vote
1 answer
106 views

How to host substrate-node-template on gcp using Dockerfile

I have been trying to deploy our substrate-node-template on gcp as a docker container. To do that I need to write a Dockerfile, since the node runs on 9944 port I couldn't figure out on deploying this ...
Logesh's user avatar
  • 13
2 votes
1 answer
168 views

Create Subquery project from given path failed! Error: Entry file undefined for datasource not exist

I tried to run my first SubQuery project by following SubQuery Quick Start guide but ran into this error while trying to run the project with Docker. I just installed and started using Docker just now ...
Han Pham's user avatar
  • 121
2 votes
1 answer
158 views

Substrate-Node-Template Docker crashes on M1 Macs

We are trying to run the docker solution available for the substrate-node-template but are hitting a crash, only on M1 Macs. To repro, from the substrate-node-template repository, we added touch ....
Brendan's user avatar
  • 65
0 votes
1 answer
421 views

Permission denied while starting node

I am trying to build a node using the node template and this Dockerfile. FROM ubuntu:20.04 as builder ARG RUSTC_VERSION=nightly-2022-05-16 ARG PROFILE=production # Workaround for https://github.com/...
0xsegfault's user avatar
1 vote
2 answers
264 views

Zombienet: Substrate-Parachain-Template ... How to write the Dockerfile?

This question follows those questions below: Q1 Zombienet: how to test custom parachain collator - block height(producing blocks) test Q2 Zombienet: Substrate-Parachain-Template ... block height(block ...
Russo's user avatar
  • 1,193
0 votes
1 answer
169 views

Zombienet: Substrate-Parachain-Template ... block height(block producing) test failed

Previously, I have already made a Rust docker image: FROM debian:latest RUN apt update && apt install -y git clang curl libssl-dev llvm libudev-dev procps vim make wget build-essential RUN ...
Russo's user avatar
  • 1,193
1 vote
1 answer
35 views

What files do I need to make a docker image for running Zombienet tests?

I have built my parachain release. Here are the files/folders I have inside my target/release: 11G . 5.9G ./deps 3.2G ./wbuild 1.6G ./build 134M ./parachain-collator 49M ./.fingerprint ...
Russo's user avatar
  • 1,193
2 votes
2 answers
239 views

Zombienet: how to test custom parachain collator - block height(producing blocks) test

previously I could run my tests including colander parachain with polkadot:v0.9.18 or polkadot-debug... my network definition file: [relaychain] default_image = "docker.io/parity/polkadot:v0.9.18&...
Russo's user avatar
  • 1,193
1 vote
1 answer
159 views

Zombienet: How to confirm if my parachain is producing blocks?

I ran my Zombienet network(it is like a Docker + Kubernetes network) [relaychain] default_image = "docker.io/paritypr/polkadot-debug:master" default_command = "polkadot" ...
Russo's user avatar
  • 1,193
4 votes
2 answers
228 views

Zombienet: how to build a docker image with my parachain and adder-collator binary?

In my Zombienet example network definition file, I have replaced : docker.io/paritypr/polkadot-debug:master with docker.io/parity/polkadot:v0.9.18 so now my Zombienet example network definition file ...
Russo's user avatar
  • 1,193
1 vote
2 answers
2k views

Zombienet: cannot exec into a container in a completed pod; current phase is Succeeded

My network definition file: [relaychain] default_image = "docker.io/parity/polkadot:v0.9.18" default_command = "polkadot" default_args = [ "-lparachain=debug" ] chain = &...
Russo's user avatar
  • 1,193
4 votes
2 answers
105 views

How to make Zombienet test files from a docker-compose yaml file?

I have tested the Zombienet example network definition and feature files with default images. How can I test my custom parachain? I have an existing docker-compose yaml file version: "3.2" ...
Russo's user avatar
  • 1,193
2 votes
1 answer
183 views

How to connect two nodes running on different computers?

I'm currently trying to deploy a private blockchain and I'm having problems trying to have nodes running on different machines but still communicating with each other. I've created a docker image ...
edmassarani's user avatar
0 votes
1 answer
76 views

Squid deployment not working

I'm slowly making my way to deploying a squid. Earlier I had some issues with a deploy error due to lack of an up-to-date repo. I'm currently facing a new challenge. When releasing the squid to the ...
rarara's user avatar
  • 141
0 votes
1 answer
101 views

Cannot deploy squid to Subsquid dashboard

I've recently been playing around with making and deploying my own squid. I keep getting a deploy_error on the website after deploying my squid via CLI. Visiting my URL I get the message below. I've ...
rarara's user avatar
  • 141
1 vote
2 answers
149 views

Polkadot archive node running on docker uses a lot of space

I'm running a Polkadot and a Kusama node on (separate) docker containers. Both are archive nodes, so it takes some more space (according to the wiki 15 to 20 Go). I was counting on the fact that 1) ...
Cromm's user avatar
  • 321
5 votes
2 answers
142 views

Speed up kusama-local onboarding

We are using rococo-local in our CI/CD but we would like to move to kusama-local because we need to test some xTokens pallet ( upwards / downards transfers ) functionalities with Kusama. We are using ...
Gonzalo Cerro's user avatar
7 votes
1 answer
236 views

Docker and Substrate with Apple Silicon/M1 Chips

Getting qemu errors when trying to build cumulus/polkadot on the container with the official image FROM docker.io/paritytech/ci-linux:production as builder qemu-x86_64: could not open '/lib64/ld-linux-...
Sam Elamin's user avatar
  • 1,223