Wow yeah that would have taken a long time, glad that you could figure it out before that.
The problem I had with passing PUI and GUI to the container is the following, if I set the user and group inside de docker container to use another thing that is not root, it will not execute my startup script due to permissions.
To try it yourself do the following:
Fork my repo on Github
Install docker on your machine
Open repo on editor, I suggest VSCode (you can install Docker Plugin there for syntax and stuff)
Make changes, and when you are done
Build with: (this will build a docker container from the Dockerfile on the current directory and it will call it grive2docker and add it to your local pc docker repo)
docker build -t "grive2docker" .
Then run it with: (don't forget to set your host folder to the folder you want to map)
docker run -it -v /your/host/folder:/drive grive2docker
If you have to add variables (ID, SECRET, CODE) you add them like this:
docker run -it -e ID=CLIENT_ID -e SECRET=SECRET -e CODE=CODE -v /your/host/folder:/drive grive2docker
Watch the log output and debug
If you want to ssh into the running docker container follow this guide https://phoenixnap.com/kb/how-to-ssh-into-docker-container
That way you can do further debugging.
When you have changes ready to merge just make a PR from your repo to mine
Tell me if you get stuck.
Thanks!