In order to run this application in a docker container one has to mount the tidal-session.json. Since its creation process requires user interaction, it has to be created using this application outside of docker once solely for the sake of obtaining the file. A binary designed for this process can be found in cmd/login. Required steps are:
Build the binary with go build -o login ./cmd/login/main.go or download it via releases.
Run it and follow the login steps.
After completion a tidal-session.json can be found in the directory and can be mounted into docker containers.