Will docker dump data in the memory to the new image which we can recover later on?

When we are doing commit and tag a new image, will docker dump data in the memory to the new image which we can recover later on?