compose/pkg/e2e/fixtures/hooks/prestop/compose-error.yaml
Guillaume Lours d219aa66f4 don't fail down cmd if services with pre_stop hook already stopped/removed
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2025-06-27 14:41:52 +02:00

10 lines
163 B
YAML

services:
sample:
image: nginx
volumes:
- data:/data
pre_stop:
- command: sh -c 'command in error'
volumes:
data:
name: sample-data