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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: docker-workflow-plugin
    • Labels:
      None
    • Environment:
      Ubuntu 18.04
      Jenkins 2.150
      docker-workflow 1.21
    • Similar Issues:

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

       

       

        Attachments

          Activity

          tomlankhorst Tom Lankhorst created issue -

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            tomlankhorst Tom Lankhorst
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: