Docker Issue -Image State not getting saved
I am using docker on ubuntu. I used the fresh image of ubuntu and installed couple of package on that java , git , chef-solo. I saved the image using command
sudo docker commit
But now when I am goint back to that , I could see only probably half of the stuff which I installed/configured.
Can any one tell what has happened here and what exactly does docker commit does.