Files
nanoreth/book/installation/docker.md
Georgios Konstantopoulos 52f2bc5ebc docs: rework book (#2566)
2023-05-04 20:28:33 -07:00

1.1 KiB

Docker

There are two ways to obtain a Reth Docker image:

  1. Docker Hub, or
  2. By building a Docker image from source.

Once you have obtained the docker image via one of these methods, proceed to Using the Docker image.

Docker Hub

Reth maintains the paradigmxyz/reth Docker Hub repository which provides an easy way to run Reth without building the image yourself.

Obtain the latest image with:

docker pull paradigmxyz/reth

Download and test the image with:

docker run paradigmxyz/reth reth --version

If you can see the latest Reth release version (see example below), then you've successfully installed Reth via Docker.

Building the Docker Image

To build the image from source, navigate to the root of the repository and run:

docker build . -t reth:local

The build will likely take several minutes. Once it's built, test it with:

docker run reth:local reth --help