Questions tagged [docker]
For questions about building and running Docker containers. Specifically in the context of substrate related softwares (nodes, UI, etc.)
33
questions
0
votes
1
answer
95
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 ...
1
vote
1
answer
132
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
...
0
votes
2
answers
40
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-...
2
votes
1
answer
138
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:...
0
votes
1
answer
23
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.
3
votes
1
answer
67
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 ...
3
votes
2
answers
118
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&...
1
vote
1
answer
56
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 ...
1
vote
1
answer
87
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 ...
1
vote
1
answer
86
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-...
2
votes
1
answer
41
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://...
2
votes
0
answers
29
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 ...
2
votes
1
answer
195
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 --...
1
vote
3
answers
272
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-...
5
votes
1
answer
268
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.
1
vote
1
answer
88
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 ...
2
votes
1
answer
132
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 ...
2
votes
1
answer
154
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 ....
0
votes
1
answer
324
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/...
1
vote
2
answers
245
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 ...
0
votes
1
answer
158
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 ...
1
vote
1
answer
31
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
...
2
votes
2
answers
222
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&...
1
vote
1
answer
137
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"
...
4
votes
2
answers
200
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 ...
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 = &...
4
votes
2
answers
98
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"
...
2
votes
1
answer
142
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 ...
0
votes
1
answer
62
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 ...
0
votes
1
answer
81
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 ...
1
vote
2
answers
132
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) ...
5
votes
2
answers
128
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 ...
7
votes
1
answer
201
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-...