You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the image does not exist, Compose attempts to pull it, unless you have also specified build, in which case it builds it using the specified options and tags it with the specified tag.
But, when I run pull, I get an error and pulling stops at that image (this is not a problem for the example, but for production manifests, it might stop pulling halfway through).
$ docker-compose pull
...
Pulling scheduler (scheduler:local)...
ERROR: pull access denied for scheduler, repository does not exist or may require 'docker login'
I guess I expected it to just pass by the scheduler service (in the case of the minimal example, it would just finish and do nothing else, in the case of a bigger manifest, it would continue pulling other service images).
The text was updated successfully, but these errors were encountered:
On further thought, using --ignore-pull-failures to avoid this error has the potential to hide real errors. Sure, you should read the console output, but that only works when you're running the command manually. It doesn't help in a scripted scenario where you're depending on the exit status.
If a service has a build section defined, then that indicates that there's no registry to pull from, right?
The docs say
https://docs.docker.com/compose/compose-file/#image
I have this minimal manifest:
But, when I run
pull
, I get an error and pulling stops at that image (this is not a problem for the example, but for production manifests, it might stop pulling halfway through).I guess I expected it to just pass by the
scheduler
service (in the case of the minimal example, it would just finish and do nothing else, in the case of a bigger manifest, it would continue pulling other service images).The text was updated successfully, but these errors were encountered: