Docker Community Forums

Share and learn in the Docker community.

Problem with commit change in images


(Funthomas) #1

Expected behavior

change something inside run container

commit change and replace my image

run container from image with changes

Actual behavior

after commit and replaced image is without changes

Information

  • the output of:
    • Moby Menu > Diagnose & Feedback on OSX
  • a reproducible case if this is a bug, Dockerfiles FTW
  • page URL if this is a docs issue or the name of a man page
  • host distribution and version ( OSX 10.10.x, OSX 10.11.x, Windows, etc )

Steps to reproduce the behavior

  1. create some changes in runing container
  2. dokcer commit … replace/image
  3. run image
  4. check changes in runing container