Instructions to update your Docker node for Resource Providers who already had Lilypad installed.
If the Linux Install was your previous version, follow part A, and if you had previously installed a Docker version, follow part B if you have already installed the Docker version and are updating.
This only applies if you had a Linux version installed
Stop all systemd processess
Disable the systemd services:
Delete the service files from the systemd directory.
**Note: Be extremely careful when using sudo
to remove files.
Reload the systemd daemon to apply the changes.
If a Docker RP is running stop the system (if the node is not running, disregard this first step)
You can check the status of the containers with:
If they are running, stop them with:
Remove the containers:
View all Docker images
Take note of all the IMAGE ID for each lilypad image (resource-provider, bacalhau, and watchtower)
Delete old Docker images that are duplicates for Lilypad (Bacalhau, Lilypad)
*Note - You can also use docker volume prune
to remove specific images that aren't being used
Create a new Resource Provider wallet (We recommend you don't use the same one you were using before, and you cannot use the same wallet you use to run jobs). See the Docs for Setting up a Metamask Wallet
Export your new WEB3_PRIVATE_KEY as an environment variable
Use curl
to download the docker-compose.yml
file from the Lilypad GitHub repository.
Start your Lilypad Node
OR start with your own RPC URL
Use the following command to check the status of the resource provider and bacalhau.
Use the following command to view the containers running after starting Docker Compose.
A healthy, updated node should have all containers started, a preflight check, and be adding a resource offer.