Before getting started, make sure you have Docker and Docker Compose installed on your system. If you don’t have them installed, follow the steps below:
Follow the official Docker installation guide for Ubuntu or run the following commands:
# Update your system
sudo apt update -y && sudo apt upgrade -y
# Remove conflicting packages
for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done
# Install dependencies
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg
# Install Docker
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
# Add Docker's official repository
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
# Update and install Docker and Docker Compose
sudo apt update -y && sudo apt upgrade -y
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
# Test Docker installation
sudo docker run hello-world
First, clone the repository to your local machine:
git clone https://github.com/Abstract-Foundation/abstract-node
cd abstract-node/external-node
Rename the testnet file to docker-compose.yml
:
cp mainnet-external-node.yml docker-compose.yml
Launch the container using Docker Compose:
docker compose up -d
To monitor the logs of the container:
docker logs -f testnet-node-external-node-1
The private key is inside the node itself, i will provide the command to retrive it in the next commit
Many users have reported issues with PostgreSQL not starting. The easiest solution to resolve this is to bring the container down and start it again:
docker compose down && docker compose up -d
If you encounter any other issues, feel free to reach out to me on Twitter: @0xAJPanda.