title: How can i remove layers from my docker image?
body: <p>I have build a docker image by making incremental commits. This has led to the creation of a lot of layers in my docker image and subsequently the size of the image has gone very large.</p>
  
  <p>Is there a way to remove the layers and as a result reduce the size of the image ?</p>
  
  <p>Any help would be appreciated.</p>