PHP中文网2017-04-25 09:03:51
I don’t know how to phrase your question. .
If it is docker 更新镜像(后),容器需要重新run吗(?)
.
The answer is that you need to restart the creation and startup, because the base environment of the container is obtained from the image when it is created, and it has been running in the new sandbox layer since then, and the image layer below it will always be the same as when it was originally created. Even if the image is updated, the image layer on which the container is based remains unchanged.