shell. If i install something or do any changes in the container,will it be written to the image that it's made of??
I nean what if i don't install something using dockerfile CMD or RUN and just do it inside the already running container. What if i stop it or duplicate it using swarm or maybe scale it with kubernetes??
Thank you
No, don't edit the container like that, use the dockerfile
in that case is better to modify the dockerfile
you only do that to TRY stuff when it works, it goes to the Dockerfile and you redeploy
Обсуждают сегодня