Php web app need help

Hi,

can I ask some help please , I want to use docker in developing php web app, before I used wampserver, now I want to try docker . I am curious do we need Ubuntu image in order to develop web app ?. is this like the v.m ware that we should install o.s then we start SSH-ing and installing dependencies we need for our project ?..can you please give me some example or steps just for my starting point inorder to enligthen my mind.

Thank you in advance.