L1 Node Setup with Docker
This will start a Docker container running an RPC or validator node that tracks your L1.
Set up Instance
Set up a linux server with any cloud provider, like AWS, GCP, Azure, or Digital Ocean. Low specs (e.g. 2 vCPUs, 4GB RAM, 20GB storage) are sufficient for basic tests. For more extensive test and production L1s use a larger instance with appropriate resources (e.g. 8 vCPUs, 16GB RAM, 1 TB storage).
If you do not have access to a server, you can also run a node for educational purposes locally. Simply select the "RPC Node (Local)" option in the next step.
Docker Installation
Make sure you have Docker installed on your system. You can use the following commands to install it:
# Install Docker using convenience script
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker $USER
newgrp docker
# Test installation
docker run -it --rm hello-world
# Install Docker
sudo yum update -y
sudo yum install -y docker
sudo systemctl start docker
sudo systemctl enable docker
sudo usermod -aG docker $USER
newgrp docker
# Test installation
docker run -it --rm hello-world
# Install Docker using convenience script
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker $USER
newgrp docker
# Test installation
docker run -it --rm hello-world
# Install Docker Desktop for Mac
# Download from: https://www.docker.com/products/docker-desktop/
echo "Please download and install Docker Desktop for Mac from the official Docker website."
# After installation, you can test it by running:
docker run -it --rm hello-world
If you do not want to use Docker, you can follow the instructions here.
Select L1
Enter the Avalanche Subnet ID of the L1 you want to run a node for.