4. Reload the systemd daemon to apply the changes.
sudo systemctl daemon-reload
Remove old Docker containers and images
1. If a Docker RP is running stop the system (if the node is not running, disregard this first step)
docker compose down
2. You can check the status of the containers with:
docker ps -a | grep -E "resource-provider|ipfs|watchtower"
If they are running, stop them with:
docker stop <container_name>
Remove the containers:
docker rm <container_name>
3. View all Docker images
docker images
4. Take note of the IMAGE ID for each lilypad image (resource-provider, bacalhau, and watchtower)
Delete old Docker images that are duplicates for Lilypad (Bacalhau, Lilypad)
docker rmi <IMAGE ID>
docker volume prune can also be used to remove specific images that aren't being used.
Install and Run a new Version of Lilypad
If a RP was running on the Lilypad Testnet in 2024, it is recommended to create a new wallet when joining the network again for the RP Beta program. If a RP wants to use the same wallet, feel free to try running the RP and let our team know if any issues with running jobs are experienced.
1. Export WEB3_PRIVATE_KEY as an environment variable
export WEB3_PRIVATE_KEY=<your-private-key>
2. Use curl to download the docker-compose.yml file from the Lilypad GitHub repository.