jenkinsci / jenkinsci/docker-workflow-plugin
[JENKINS-61909] ERROR: The container started but didn't run the expected command.
- Dominant language
- Java
- Stars
- 527
- Forks
- 422
- Avg merge
- 10m
- Merged PRs (30d)
- 1
Description
When running an image with an entrypoint:
> ERROR: The container started but didn't run the expected command.
However, when I inspect manually `docker top `, I do see the `cat` command right there.
My entrypoint is of the form:
#!/bin/bash
set -e
source "/opt/some/source.bash"
exec "$@"
---
Originally reported by tomlankhorst, imported from: ERROR: The container started but didn't run the expected command.
Raw content of original issue
When running an image with an entrypoint:
> ERROR: The container started but didn't run the expected command.
However, when I inspect manually `docker top <container-id>`, I do see the `cat` command right there.
My entrypoint is of the form:
#!/bin/bash
set -e
source "/opt/some/source.bash"
exec "$@"
environment
```
Ubuntu 18.04
Jenkins 2.150
docker-workflow 1.21
```
Contributor guide
Assessment
This issue has not been assessed yet.