Installation

You must define your path to your library in a volume to /media/library

You can also mount a folder to /root/oauth to keep or reuse your key

Configuration

First, you have to allow the container to access your Google Music account

docker exec -ti googlemusicmanager auth

Then follow prompted instructions.

You will be asked to go to a Google URL to allow the connection:

Visit the following url:
https://accounts.google.com/o/oauth2/v2/auth?client_id=XXXXXXXXXXX.apps.googleusercontent.com&access_type=offline&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fmusicmanager&response_type=code&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob
Follow the prompts, then paste the auth code here and hit enter:

Once done, restart the container to start downloading your library

docker restart googlemusicmanager

Appendixes

Install RaspberryPi Docker

If you don't have Docker installed yet, you can do it easily in one line using this command