how to commit and save currnet state docker container into its image code example Example: docker commit docker commit CONTAINER_ID CONTAINER_NAME:TAG