compose/pkg/compose
Risky Feryansyah d05f5f5fa7
pull: improve output for services with both image+build (#9829)
When an image pull fails but the service has a `build` section, it
will be built, so it's not an unrecoverable error. It's now logged as
a warning - in situations where the image will _never_ exist in a
registry, `pull_policy: never` can & should be used, which will
prevent the error and avoid unnecessary pull attempts.

Signed-off-by: Risky Feryansyah Pribadi <riskypribadi24@gmail.com>
2022-09-13 14:38:13 +01:00
..
testdata prefer canonical compose.yaml file name 2021-06-22 11:23:57 +02:00
attach.go Fix nolint issues 2022-07-13 19:33:06 +02:00
build.go Merge pull request #9729 from glours/add-platforms-build 2022-09-08 11:42:16 +02:00
build_buildkit.go don't push images at the end of multi-arch build (and simplify e2e tests) 2022-09-02 15:44:55 +02:00
build_classic.go add support of platforms in build section 2022-09-02 15:44:55 +02:00
compose.go convert: do not escape $ into $$ when using the --no-interpolate option (#9703) 2022-09-08 16:25:23 -04:00
container.go lint: add nolintlint and clean up nolint directives (#9738) 2022-08-09 16:43:58 -04:00
containers.go align cp command index management with exec command 2022-05-10 10:50:40 +02:00
convergence.go up/start/run: don't wait for disabled service 2022-08-17 12:32:10 -05:00
convergence_test.go logs: filter to services from current Compose file (#9811) 2022-09-08 16:26:00 -04:00
convert.go Move compose v2 implementation under pkg/compose with dependencies 2021-06-15 15:52:48 +02:00
cp.go Add "style" tag to gocritic 2022-07-13 19:33:06 +02:00
create.go create: pull all services logic out of loop; add DependsOn deps 2022-08-17 11:48:45 -05:00
create_test.go use '-' as separator by default for image name 2022-07-29 18:55:22 +02:00
dependencies.go Restrict compose project to selected services and dependencies on compose start 2022-09-08 12:31:55 -04:00
dependencies_test.go Add unit tests to graph building logic in dependencies.go 2022-09-08 12:32:04 -04:00
down.go Fix down with --rmi 2022-08-29 19:48:23 +02:00
down_test.go logs: filter to services from current Compose file (#9811) 2022-09-08 16:26:00 -04:00
envresolver.go config: case-insensitive env vars on Windows (#9438) 2022-08-02 14:56:09 -04:00
envresolver_test.go config: case-insensitive env vars on Windows (#9438) 2022-08-02 14:56:09 -04:00
errors.go Move compose v2 implementation under pkg/compose with dependencies 2021-06-15 15:52:48 +02:00
events.go project name MUST be lowercase 2022-04-13 09:49:01 +02:00
exec.go align cp command index management with exec command 2022-05-10 10:50:40 +02:00
filters.go move compose-cli code into docker/compose/v2 2021-08-31 19:09:19 +02:00
hash.go update usage strings for consistency 2022-08-02 13:32:29 +02:00
images.go project name MUST be lowercase 2022-04-13 09:49:01 +02:00
kill.go Apply compose model on compose kill, add --remove-orphans 2022-08-19 04:26:08 +02:00
kill_test.go logs: filter to services from current Compose file (#9811) 2022-09-08 16:26:00 -04:00
logs.go logs: filter to services from current Compose file (#9811) 2022-09-08 16:26:00 -04:00
logs_test.go logs: filter to services from current Compose file (#9811) 2022-09-08 16:26:00 -04:00
ls.go Add gocritic to linters 2022-07-13 19:33:03 +02:00
ls_test.go Add unit tests for combinedConfigFiles logic 2022-02-18 16:37:35 +01:00
metrics.go Add gocritic to linters 2022-07-13 19:33:03 +02:00
pause.go if command is ran with a compose file, apply the compose model, not just project name 2022-08-02 22:33:26 +02:00
port.go project name MUST be lowercase 2022-04-13 09:49:01 +02:00
printer.go Only capture exit codes from exit events 2022-08-28 21:01:40 +02:00
ps.go Filter compose ps output by provided compose model 2022-08-02 22:33:26 +02:00
ps_test.go logs: filter to services from current Compose file (#9811) 2022-09-08 16:26:00 -04:00
pull.go pull: improve output for services with both image+build (#9829) 2022-09-13 14:38:13 +01:00
push.go composeService to use dockerCli's In/Out/Err streams 2022-03-03 16:34:57 +01:00
remove.go if command is ran with a compose file, apply the compose model, not just project name 2022-08-02 22:33:26 +02:00
restart.go if command is ran with a compose file, apply the compose model, not just project name 2022-08-02 22:33:26 +02:00
run.go config: case-insensitive env vars on Windows (#9438) 2022-08-02 14:56:09 -04:00
secrets.go Add "opinionated" tag to gocritic 2022-07-13 19:33:06 +02:00
start.go Restrict compose project to selected services and dependencies on compose start 2022-09-08 12:31:55 -04:00
stop.go if command is ran with a compose file, apply the compose model, not just project name 2022-08-02 22:33:26 +02:00
stop_test.go logs: filter to services from current Compose file (#9811) 2022-09-08 16:26:00 -04:00
top.go project name MUST be lowercase 2022-04-13 09:49:01 +02:00
up.go up: do not stop dependency containers (#9701) 2022-08-02 15:25:59 -04:00