You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 22, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: src/getting-started/sw-requirements.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Software Requirements
2
2
3
-
Before we start, please note that building software from source can be complex. If you're not comfortable with technical tasks, you might want to check the [Docker](./docker.md) installation.
3
+
Before we start, please note that building software from source can be complex. If you're not comfortable with technical tasks, you might want to check the [Docker](/installation/docker.md) installation.
4
4
5
5
Erigon works only from command line interface (CLI), so it is advisable to have a good confidence with basic commands.
Copy file name to clipboardExpand all lines: src/installation/docker.md
+3-6Lines changed: 3 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,32 +19,29 @@ Here are the steps to download and start Erigon 3 in Docker:
19
19
20
20
1. Install the latest version of Docker Engine, see instructions [here](https://docs.docker.com/engine/install/).
21
21
22
-
2. Visit the Erigon Docker Hub page to view the available releases. For Erigon 3, search for the [latest available release](https://hub.docker.com/r/erigontech/erigon/tags?name=v3).
23
-
1. Install the latest version of Docker Engine, see instructions [here](https://docs.docker.com/engine/install/).
24
-
25
22
2. Visit the Erigon Docker Hub page to view the available releases. For Erigon 3, search for the [latest available release](https://hub.docker.com/r/erigontech/erigon/tags?name=v3).
26
23
27
-
3. Download the latest version:
28
24
3. Download the latest version:
29
25
30
26
```bash
31
27
docker pull erigontech/erigon:v3.0.0-beta1
32
28
```
29
+
33
30
* List the downloaded images to get the IMAGE ID:
31
+
34
32
```bash
35
33
docker images
36
34
```
35
+
37
36
* Check which Erigon version has been downloaded:
38
37
```bash
39
38
docker run -it <image_id> --v
40
39
```
41
-
* If you want to start Erigon add the options according to the [basic usage](/basic-usage.md) page or the advanced customization page. For example:
42
40
43
41
* If you want to start Erigon add the options according to the [basic usage](/basic-usage.md) page or the advanced customization page. For example:
44
42
45
43
```bash
46
44
docker run -it 50bef1b5d0f9 --chain=holesky --prune.mode=minimal
47
-
docker run -it 50bef1b5d0f9 --chain=holesky --prune.mode=minimal
48
45
```
49
46
* When done, exit the container or press `Ctrl+C`. The container will stop.
Copy file name to clipboardExpand all lines: src/installation/upgrading-md
+7-35Lines changed: 7 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -8,17 +8,12 @@ To upgrade Erigon to a newer version when you've originally installed it via Git
8
8
```bash
9
9
git fetch --tags
10
10
```
11
-
```bash
12
-
git fetch --tags
13
-
```
14
11
* **Check out** the [latest version](https://github.com/ledgerwatch/erigon/releases) and switch to it using:
12
+
15
13
```bash
16
14
git checkout <new_version_tag>
17
15
```
18
-
Replace `<new_version_tag>` with the version tag of the new release, for example:
19
-
```bash
20
-
git checkout <new_version_tag>
21
-
```
16
+
22
17
Replace `<new_version_tag>` with the version tag of the new release, for example:
23
18
24
19
```bash
@@ -30,9 +25,6 @@ To upgrade Erigon to a newer version when you've originally installed it via Git
30
25
```bash
31
26
make erigon
32
27
```
33
-
```bash
34
-
make erigon
35
-
```
36
28
37
29
This process updates your installation to the latest version you specify, while maintaining your existing data and configuration settings in the Erigon folder. You're essentially just replacing the executable with a newer version.
38
30
@@ -44,65 +36,45 @@ If you're using Docker to run Erigon, the process to upgrade to a newer version
44
36
```bash
45
37
docker pull erigontech/erigon:<new_version_tag>
46
38
```
47
-
Replace `<new_version_tag>` with the actual version tag you wish to use. For example:
48
-
```bash
49
-
docker pull erigontech/erigon:<new_version_tag>
50
-
```
39
+
51
40
Replace `<new_version_tag>` with the actual version tag you wish to use. For example:
52
41
53
42
```bash
54
43
docker pull erigontech/erigon:3.0.0
55
44
```
56
-
```bash
57
-
docker pull erigontech/erigon:3.0.0
58
-
```
45
+
59
46
* **List Your Docker Images**: Check your downloaded images to confirm the new image is there and get the new image ID:
60
47
61
48
```bash
62
49
docker images
63
50
```
64
-
```bash
65
-
docker images
66
-
```
51
+
67
52
* **Stop the Running Erigon Container**: If you have a currently running Erigon container, you'll need to stop it before you can start the new version. First, find the container ID by listing the running containers:
68
53
69
54
```bash
70
55
docker ps
71
56
```
72
-
Then stop the container using:
73
-
```bash
74
-
docker ps
75
-
```
57
+
76
58
Then stop the container using:
77
59
78
-
```bash
79
-
docker stop <container_id>
80
-
```
81
60
```bash
82
61
docker stop <container_id>
83
62
```
84
63
85
64
Replace `<container_id>` with the actual ID of the container running Erigon.
86
-
Replace `<container_id>` with the actual ID of the container running Erigon.
87
65
88
66
* **Remove the Old Container**: (Optional) If you want to clean up, you can remove the old container after stopping it:
89
67
90
68
```bash
91
69
docker rm <container_id>
92
70
```
93
-
```bash
94
-
docker rm <container_id>
95
-
```
96
71
97
72
* **Run the New Image**: Now you can start a new container with the new Erigon version using the new image ID:
98
73
99
74
```bash
100
75
docker run -it <new_image_id>
101
76
```
102
-
```bash
103
-
docker run -it <new_image_id>
104
-
```
105
77
106
78
* **Verify Operation**: Ensure that Erigon starts correctly and connects to the desired network, verifying the logs for any initial errors.
107
79
108
-
By following these steps, you'll keep your Docker setup clean and up-to-date with the latest Erigon version without needing to manually clean up or reconfigure your environment. Docker's ability to encapsulate software in containers simplifies upgrades and reduces conflicts with existing software on your machine.
80
+
sBy following these steps, you'll keep your Docker setup clean and up-to-date with the latest Erigon version without needing to manually clean up or reconfigure your environment. Docker's ability to encapsulate software in containers simplifies upgrades and reduces conflicts with existing software on your machine.
0 commit comments