Skip to content

Commit fda3e1c

Browse files
committed
Download polkadot-parachain binary from GitHub releases instead of Docker
1 parent 35d51a0 commit fda3e1c

File tree

3 files changed

+39
-44
lines changed

3 files changed

+39
-44
lines changed

node-infrastructure/run-a-collator/collator.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -96,18 +96,22 @@ This guide provides two deployment options. Select the option that best fits you
9696

9797
=== "Manual Setup"
9898

99-
Extract the binary from the official Docker image:
99+
Download the `polkadot-parachain` binary from the latest stable [Polkadot SDK release](https://github.com/paritytech/polkadot-sdk/releases){target=\_blank}:
100100

101101
```bash
102-
# Create a temporary container and copy the binary
103-
docker create --name temp-parachain parity/polkadot-parachain:stable2509-2
104-
sudo docker cp temp-parachain:/usr/local/bin/polkadot-parachain /usr/local/bin/
105-
docker rm temp-parachain
102+
# Download the latest stable release (check releases page for current version)
103+
wget https://github.com/paritytech/polkadot-sdk/releases/download/stable2409-2/polkadot-parachain
104+
105+
# Make it executable and move to system path
106+
chmod +x polkadot-parachain
107+
sudo mv polkadot-parachain /usr/local/bin/
106108

107109
# Verify installation
108110
polkadot-parachain --version
109111
```
110112

113+
Check the [Polkadot SDK releases](https://github.com/paritytech/polkadot-sdk/releases){target=\_blank} page for the latest stable version.
114+
111115
## Generate Node Key
112116

113117
Generating a stable node key enables a consistent peer ID across the network. Follow these steps to generate a node key:
@@ -489,12 +493,11 @@ Updates or upgrades can happen on either the runtime or client. Runtime upgrades
489493
sudo cp -r /var/lib/polkadot-collator /var/lib/polkadot-collator.backup
490494
```
491495

492-
3. Pull the new image and extract the binary:
496+
3. Download the new binary from [GitHub releases](https://github.com/paritytech/polkadot-sdk/releases){target=\_blank}:
493497
```bash
494-
docker pull parity/polkadot-parachain:<NEW_TAG>
495-
docker create --name temp-parachain parity/polkadot-parachain:<NEW_TAG>
496-
sudo docker cp temp-parachain:/usr/local/bin/polkadot-parachain /usr/local/bin/
497-
docker rm temp-parachain
498+
wget https://github.com/paritytech/polkadot-sdk/releases/download/<NEW_VERSION>/polkadot-parachain
499+
chmod +x polkadot-parachain
500+
sudo mv polkadot-parachain /usr/local/bin/
498501
```
499502

500503
4. Verify `polkadot-parachain` version to confirm successful update:

node-infrastructure/run-a-node/parachain-rpc.md

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ categories: Infrastructure
88

99
## Overview
1010

11-
Running an RPC node for a parachain enables applications, wallets, and users to interact with the parachain's functionality. This guide applies to **any parachain** in the Polkadot ecosystem, including:
12-
13-
- **System parachains**: Bridge Hub, People Chain, Coretime Chain
14-
- **Common good parachains**: Collectives, Encointer
15-
- **Commercial parachains**: Any parachain with a publicly available chain specification
11+
Running an RPC node for a parachain enables applications, wallets, and users to interact with the parachain's functionality.
1612

1713
Each parachain RPC node provides access through the Polkadot SDK Node RPC (Port 9944), offering native Polkadot API access via WebSocket and HTTP. This setup enables block explorer indexing and provides full compatibility with Polkadot SDK development tools.
1814

@@ -47,11 +43,7 @@ curl -L https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/cumulus
4743

4844
### Other Parachains
4945

50-
For non-system parachains:
51-
52-
- **Check the parachain's documentation** for official chain specification files
53-
- **Contact the parachain team** if no public chain spec is available
54-
- **Export from a running node** using `system_chainSpec` RPC method if you have access to an existing node
46+
For non-system parachains, check the parachain's documentation for official chain specification files.
5547

5648
**Note**: Throughout this guide, we use **People Chain** as the example. To set up a different parachain, substitute the chain spec file, snapshot path, and chain name with values for your target parachain.
5749

@@ -352,20 +344,21 @@ This option provides more control and is recommended for production environments
352344

353345
### Step 1: Install the Polkadot Parachain Binary
354346

355-
Extract the binary from the official Docker image:
347+
Download the `polkadot-parachain` binary from the latest stable [Polkadot SDK release](https://github.com/paritytech/polkadot-sdk/releases){target=\_blank}:
356348

357349
```bash
358-
# Pull the image and extract binary
359-
docker pull parity/polkadot-parachain:stable2509-2
360-
docker create --name temp-parachain parity/polkadot-parachain:stable2509-2
361-
sudo docker cp temp-parachain:/usr/local/bin/polkadot-parachain /usr/local/bin/
362-
docker rm temp-parachain
350+
# Download the latest stable release (check releases page for current version)
351+
wget https://github.com/paritytech/polkadot-sdk/releases/download/stable2409-2/polkadot-parachain
352+
353+
# Make it executable and move to system path
354+
chmod +x polkadot-parachain
355+
sudo mv polkadot-parachain /usr/local/bin/
363356

364357
# Verify installation
365358
polkadot-parachain --version
366359
```
367360

368-
Check [Docker Hub](https://hub.docker.com/r/parity/polkadot-parachain/tags) for the latest stable tags.
361+
Check the [Polkadot SDK releases](https://github.com/paritytech/polkadot-sdk/releases){target=\_blank} page for the latest stable version.
369362

370363
### Step 2: Create User and Directory Structure
371364

@@ -550,11 +543,10 @@ sudo systemctl stop people-chain-rpc
550543
# Backup data
551544
sudo cp -r /var/lib/people-chain-rpc /var/lib/people-chain-rpc.backup
552545
553-
# Pull new image and extract binary
554-
docker pull parity/polkadot-parachain:<NEW_TAG>
555-
docker create --name temp-parachain parity/polkadot-parachain:<NEW_TAG>
556-
sudo docker cp temp-parachain:/usr/local/bin/polkadot-parachain /usr/local/bin/
557-
docker rm temp-parachain
546+
# Download new binary from GitHub releases
547+
wget https://github.com/paritytech/polkadot-sdk/releases/download/<NEW_VERSION>/polkadot-parachain
548+
chmod +x polkadot-parachain
549+
sudo mv polkadot-parachain /usr/local/bin/
558550
559551
# Restart service
560552
sudo systemctl start people-chain-rpc

node-infrastructure/run-a-node/polkadot-hub-rpc.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -248,19 +248,20 @@ Select the best option for your project, then use the steps in the following tab
248248

249249
This option provides more control and is recommended for production environments requiring custom configurations.
250250

251-
1. Install the Polkadot Parachain binary by extracting it from the official Docker image:
251+
1. Download the `polkadot-parachain` binary from the latest stable [Polkadot SDK release](https://github.com/paritytech/polkadot-sdk/releases){target=\_blank}:
252252
```bash
253-
# Pull the image and extract binary
254-
docker pull parity/polkadot-parachain:stable2509-2
255-
docker create --name temp-parachain parity/polkadot-parachain:stable2509-2
256-
sudo docker cp temp-parachain:/usr/local/bin/polkadot-parachain /usr/local/bin/
257-
docker rm temp-parachain
253+
# Download the latest stable release (check releases page for current version)
254+
wget https://github.com/paritytech/polkadot-sdk/releases/download/stable2409-2/polkadot-parachain
255+
256+
# Make it executable and move to system path
257+
chmod +x polkadot-parachain
258+
sudo mv polkadot-parachain /usr/local/bin/
258259

259260
# Verify installation
260261
polkadot-parachain --version
261262
```
262263

263-
Check [Docker Hub](https://hub.docker.com/r/parity/polkadot-parachain/tags){target=\_blank} for the latest stable tags.
264+
Check the [Polkadot SDK releases](https://github.com/paritytech/polkadot-sdk/releases){target=\_blank} page for the latest stable version.
264265

265266
2. Download the Polkadot Hub chain specification:
266267
```bash
@@ -468,12 +469,11 @@ Use the following commands for updating or upgrading your RPC node according to
468469
```bash
469470
sudo cp -r /var/lib/polkadot-hub-rpc /var/lib/polkadot-hub-rpc.backup
470471
```
471-
3. Pull the new image and extract the binary:
472+
3. Download the new binary from [GitHub releases](https://github.com/paritytech/polkadot-sdk/releases){target=\_blank}:
472473
```bash
473-
docker pull parity/polkadot-parachain:<NEW_TAG>
474-
docker create --name temp-parachain parity/polkadot-parachain:<NEW_TAG>
475-
sudo docker cp temp-parachain:/usr/local/bin/polkadot-parachain /usr/local/bin/
476-
docker rm temp-parachain
474+
wget https://github.com/paritytech/polkadot-sdk/releases/download/<NEW_VERSION>/polkadot-parachain
475+
chmod +x polkadot-parachain
476+
sudo mv polkadot-parachain /usr/local/bin/
477477
```
478478
4. Restart the service:
479479
```bash

0 commit comments

Comments
 (0)