1974 shaares
6 private links
6 private links
When you have a Dockerfile that contains a FROM directive, you are creating a parent/child relationship in your image building process.
The simpliest way to think about the ONBUILD command is that it is like an instruction given from a parent to a child.