@Sakib Pathen
Agreed, after each commit you should remove (docker rm) and create a new container (docker run) from the modified image.
However after that it is easier to just use docker start instead of continuously removing and recreating the docker container each time!