I have an ubuntu image where i have made some changes. Now i want to commit these changes to a new image but the problem now is, when I run the image the error says "PID[1] already running".
So, i thought that i could stop the apache in the container where i have made changes but this crashes (kills) the complete container and the changes are lost.
What i want:
Docker Ubuntu Image + Apache -> Container -> Some changes on the container -> Save the changes to a new Image -> Make a container out of the new image -> Have the "old image" with my changes in a new container, so i could start every time with my new image.
Are there any hints to get what i want?
Thank you!