Home > other >  Why docker commit unable to save changes
Why docker commit unable to save changes

Time:10-03

Excuse me: use dockerfile build mirror, SSH login to modify tomcat configuration file, close the container used after docker commit save the changes and restart after the container found that the modified files but not save, what reason is this?

CodePudding user response:

May be because the VOLUME of the specified Shared directory cannot be saved to this problem, you can try to remove related configuration in Dockerfile,

CodePudding user response:

Can try to open another terminal for the commit,
  • Related