Install & Configure Docker
Key folder structure
Livepeer will require files to be placed on the host and within the docker container. Here is a list of the key folders used by the docker install.Host Folders
By default, docker will store all volumes in the/var/lib/docker/volumes
directory
This installation will create a volume called: gateway-lpData
and it will be
located at /var/lib/docker/volumes/gateway-lpData/_data
Container Folders
Within the docker container, the volumegateway-lpData
will be mounted at
/root/.lpData
Install Prerequisites
If docker is already installed, you can skip this step. The installation assumes you are running Docker 20.10.x. If an older version of docker is installed remove it with the following command: As the root user (or sudo), run the following:Create Livepeer Gateway ETH account
In this step we need to start the Gateway in order to create an Ethereum account.Make sure to never share or lose access to either the password or
the keystore file.
Keep this password handy, we will use it in the following steps.
Modify Docker compose file to include eth-secret.txt
-ethKeystorePath
and save