> For the complete documentation index, see [llms.txt](https://john-3.gitbook.io/inertia-scan/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://john-3.gitbook.io/inertia-scan/inertia-scan-docker-setup-for-validator-node.md).

# Inertia Scan Docker Setup for Validator Node

Use Docker to easily set up Inertia Scan. Just copy and paste these commands to download the necessary files:

1. Download **inertiascan.json** by:

```
wget https://raw.githubusercontent.com/Inertiachain/Docs/refs/heads/main/node-setup/genesis/inertiachain.json
```

{% hint style="warning" %}
**Important:**&#x20;

Generate a wallet with keystore on myetherwallet.com, then insert the resulting address into this code section.
{% endhint %}

{% hint style="success" %}
**Steps:**

1. Make a **'keystore'** folder
2. Create a **'password.file'** and save the chosen '**password'** in it—Use the password inside which you choose to create the **'keystore file'**
3. Put both **'password.file'** and **'keystore file'** in the **'keystore'** folder
   {% endhint %}

```
{
  "Init": {
    "ChainSpecPath": "/config/genesis/inertiachain.json",
    "GenesisHash": "0xe59636af5a13f39d75110a9505347d48c9e9f28050042f97fa67872ac7d2d366",
    "BaseDbPath": "nethermind_db/inertiachain",
    "LogFileName": "inertiachain.logs.txt",
    "MemoryHint": 768000000,
    "IsMining": true
  },
  "Network": {
      "DiscoveryPort": 30303,
      "P2PPort": 30303
  },
  "JsonRpc": {
    "Enabled": true,
    "EnginePort": 8551,
    "Host": "0.0.0.0",
    "Port": 8545, 
    "WebSocketsPort": 8546
  },
  "Blocks": {
    "SecondsPerSlot": 5,
    "TargetBlockGasLimit": 30000000
  },
 "KeyStore": {
    "PasswordFiles": ["keystore/password"],
    "UnlockAccounts": ["0x Insert your custom address into this code section."],
    "BlockAuthorAccount": "0x Insert your custom address into this code section."
  },
  "Sync": {
    "FastSync": true,
    "FastBlocks": true
  },
  "Mining": {
    "MinGasPrice": "1000000000"
  },
  "Aura": {
    "ForceSealing": true,
    "AllowAuRaPrivateChains": true
  },
  "Bloom": {
    "IndexLevelBucketSizes": [
      16,
      16,
      16
    ]
  }
}
```

2. Download **static-nodes.json**&#x20;

```html
wget https://raw.githubusercontent.com/Inertiachain/Docs/refs/heads/main/node-setup/static-nodes.json
```

3. Download **docker-compose.yml**

```
wget https://raw.githubusercontent.com/Inertiachain/Docs/refs/heads/main/node-setup/docker-compose.yml
```

## Easy Docker Installation Guide

{% tabs %}
{% tab title="Windows OS" %}

### Install Docker Desktop on Windows <a href="#install-docker-desktop-on-windows" id="install-docker-desktop-on-windows"></a>

{% embed url="<https://docs.docker.com/desktop/install/windows-install/>" fullWidth="false" %}
*<mark style="color:blue;">**Get Docker for Windows with just one click!**</mark>*&#x61;nd [inertiachain\_archive.cfg](https://github.com/Inertiachain/Docs/blob/main/inertiachain_archive.cfg)
{% endembed %}
{% endtab %}

{% tab title="Mac" %}

### Install Docker Desktop on Mac <a href="#install-docker-desktop-on-mac" id="install-docker-desktop-on-mac"></a>

{% embed url="<https://docs.docker.com/desktop/install/mac-install/>" %}
*<mark style="color:blue;">**Get Docker for Mac with just one click!**</mark>*
{% endembed %}
{% endtab %}

{% tab title="Linux" %}

### **Updates your system's software lists:**

```
sudo apt update 
```

### **Update system:**

```
sudo apt upgrade -y
```

### **Install Docker and Docker Compose:**

```
sudo apt install docker.io docker-compose -y
```

{% endtab %}
{% endtabs %}

## **Quick Steps to Run Docker**

Run the validator using this command from the directory with **docker-compose.yml**

```
docker-compose up -d
```

{% hint style="warning" %}
**Important:**\
Send the **'enode'** and **'wallet address'** to the admin via email at <admin@inertiascan.com>

<img src="https://2400144330-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfoxsffP5sp0KRvw8ImeS%2Fuploads%2F44tscnUcICe0x0S5xANU%2FWhatsApp%20Image%202023-12-14%20at%204.27.00%20PM.jpeg?alt=media&amp;token=d787508b-7362-4a71-8f1b-da92115480da" alt="" data-size="original">
{% endhint %}
