2020-10-18 19:31:30
Can someone school me on docker lifecycles?
Fireduck
2020-10-18 19:31:57
Supposing I am building a docker image and sticking it on dockerhub, what part of the Dockerfile is run by me (builder) vs when someone runs the image?
Fireduck
2020-10-18 19:32:24
Also multistage makes that even more complex, but I feel like I just don't get the lifecycle to begin with
Fireduck
2020-10-18 21:49:10
ok, figured it out
Fireduck
2020-10-18 21:49:23
each step generates an intermediate container hash
Fireduck
2020-10-18 21:49:27
which get cached
Fireduck
2020-10-18 21:49:41
so if you build an image, it will contain everything until the final CMD line
Fireduck