What does docker-compose –build option do?

  build, docker, docker-compose

According to docker-compose, the --build option is to "Build or rebuild services".

Does this mean that a build is forced even when unnecessary? I would like to know to what extent exactly things are rebuilt, and to what extent they are not. For example, can cached images be used?

Source: Docker Questions

LEAVE A COMMENT