-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Description
I've started to feel that doing a build during docker-compose up is potentially causing more trouble than it's worth, and I'm curious if anyone is actually using this functionality.
I believe this is a positive change for two reasons:
- Anytime I've used
docker-compose upI've always had to explicitlydocker-compose buildfirst (and oftendocker-compose pullbefore that). This is because without doing an explicit build/pull, you risk running an older version of the image. - Doing a
build/pullas part ofupstarts to require thatupsupport every parameter thatbuildandpullrequire, which leads to more code complexity, and a less clean interface (see no cache #687, fig up support '--allow-insecure-ssl' #573, Speed up fig up #586, which are probably just the start)
Does anyone actually "need" docker-compose up to build containers first? How do you ensure you're actually running the latest container if you don't do an explicit docker-compose build first?
This would be a non-backwards compatible change, so it would require waiting for a new major release.
tp, HurricanKai, matteocng, aarij-rehman and kapalkatmicheljung