services: failing: image: alpine command: sh -c "sleep 0.1 && echo world && /bin/false" deploy: restart_policy: condition: "on-failure" max_attempts: 2