Running appium fram work on docker

I have appium POM framwork with Android testcases on Mac. I want to run all the testcases on docker. Please provide me the step by step to run the appium framwork on docker.

I would start by looking at this post: https://discuss.appium.io/t/dockerizing-appium-tests/7664.