Docker container closing during updation
Hi ,
I was updated my Docker container using following command Code:
apt-get update |
Did you rebuild the container after updating inside it?
You have to, else the changes don't 'stick'. That or you shouldn't exit the container, rather detach. See https://www.howtoforge.com/tutorial/...docker-images/ |
Quote:
|
Quote:
No, there is not, because you didn't follow the procedures and guidelines. You can also restore from backups, re-do the upgrade, and detach properly. |
Quote:
Code:
docker commit Build your own images It's been awhile since I had to. I read this nugget Code:
docker commit -m "Added json gem" -a "Kate Smith" 0b2616b0e5a8 ouruser/sinatra:v2 https://docs.docker.com/engine/tutorials/dockerimages/ Have fun! |
All times are GMT -5. The time now is 04:11 PM. |