To use blogger, the first step is fetching credentials.
You can find the ${blogId} once you logins blogger, the last part of url path
https://www.blogger.com/blog/posts/8010633675189262826
${blogId} is 8010633675189262826 for me.
Then run the command below.
docker run -a stdout -t --rm --name easyblogger -v ${localdir}:/root/ murmursdev/easyblogger --blogid ${blogid} -v DEBUG get
-a sdtout
show docker output to your host's output.
-t
is required to show debug information.
-v ${localdir}:/root/
to store the credential to your host.
After running the command, you will get
Click or copy the Google url to your browser, then finish authorization.
Now you will get a callback url with
http://localhost:8080/?code=4/0AVHEtKTa_TfgiI8Iw&scope=https://www.googleapis.com/auth/blogger
Then you need to notify easyblogger with the command below because the server is running in docker.
docker exec easyblogger curl ${callbackUrl}
Once you got the credential you can call easyblogger with command below.
For more usage, please look at here
docker run -a stdout -t --rm --name easyblogger -v ${localdir}:/root/ murmursdev/easyblogger