How to practice Dockerfile with Examples?

Hi Team,

Could you please me how to practice Dockerfiles with examples?

Hello @sattarbaig786
The official docs are awesome Dockerfile reference | Docker Documentation