Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-61909

ERROR: The container started but didn't run the expected command.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • docker-workflow-plugin
    • None
    • Ubuntu 18.04
      Jenkins 2.150
      docker-workflow 1.21

      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 "$@"

       

       

            Unassigned Unassigned
            tomlankhorst Tom Lankhorst
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: