sábado, 31 de diciembre de 2022

docker commit changes, start stop container y private registry

start a container as shell


 docker   start -ai  284631a6df5




stop a container

 docker stop  284631a6df50 


Commit new images changes


 docker commit 284631a6df50 ubuntu-lamp


docker run -ti -p 7070:80  ubuntu-lamp


View new image

docker images



view all containers

 docker ps -a

https://phoenixnap.com/kb/how-to-commit-changes-to-docker-image

https://phoenixnap.com/kb/set-up-a-private-docker-registry
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-private-docker-registry-on-ubuntu-22-04

No hay comentarios:

Publicar un comentario