6 ms·
It's explained on the official documentation: https://docs.docker.com/reference/dockerfile/#scope https://docs.docker.com/reference/dockerfile/#scope
by johanbcn 2y ago
It's explained on the official documentation:
https://docs.docker.com/reference/dockerfile/#scope https://docs.docker.com/reference/dockerfile/#scope
- hombre_fatal 2y agoTrue, though gotchas exist when user intuition doesn't match with actual behavior regardless of whether they are mentioned in docs.
- chii 2y agoPrinciple of least surprise. If you need to write in the docs about a surprise that a user otherwise wouldn't have expected, may be it's a sign that the surprise should be fixed up such that it's not surprising behaviour.
- deleted 2y ago[deleted]