Is there also a converse side to this: when should you use COPY / ADD? (Also, is it worth commenting on the difference between them?)
Does mounting also raise issues about how to mount local directories into a container, or persistent data volumes against a container? Discussion about whether linked data volumes introduce a "hidden state" problem in a running docker deployment environment?
if you have a "stable" published software library, install it from source from the source code repo or from the software repository (so that users find the project in the future)
How does the above relate to Rule 4 / installing known version packages. Should Rule 4 reference installing packages local to the Dockerfile, or from repositories that are not package manager repositories?
Typo: to reause code
Is there also a converse side to this: when should you use
COPY
/ADD
? (Also, is it worth commenting on the difference between them?)Does mounting also raise issues about how to mount local directories into a container, or persistent data volumes against a container? Discussion about whether linked data volumes introduce a "hidden state" problem in a running docker deployment environment?
How does the above relate to Rule 4 / installing known version packages. Should Rule 4 reference installing packages local to the Dockerfile, or from repositories that are not package manager repositories?