services: sample: image: alpine init: true command: sleep infinity pre_stop: - command: sh -c 'command in error'