We all know how to writeDockerfile
When there is only oneFROM
Instruction that indicates the parent mirror on which it depends.
I pass nownginx
Mirror image constructs a mirror image of its own, calledmy-nginx
Then, I can passFROM my-nginx
Build a new image and push it overmy-nginx
?
It meansDockerfile
hit the targetFROM
, canFORM
Self?
docker commitUnderstand, add instructions to the original