Use existing Installating as Docker Container

I’m new to docker. Trying to set up multiple node cluser on my local machine using docker.

On my local machine, I’ve already installed hadoop. Is that possible I could put the same Installation in my new created docker Image foler and then replicate that image on local machine to run as other nodes ?

Is it POSSIBLE .. ?

Please suggest ..!

Source: StackOverflow