Unable to use it with podman-docker

This issue is archived. You can view it, but you can't modify it. Learn more

      Hi developers,

      we use podman with the docker emulation instant of native docker.

      The pull of the image works, but the start of the container fails with:

       Posting build status of FAILED to Git for commit id [c0fd73dba1f80622cff871baae31fc04ed6af5b9] and ref 'refs/heads/master'
      ERROR: The docker version is less than v1.7. Pipeline functions requiring 'docker exec' (e.g. 'docker.inside') or SELinux labeling will not work.
      Finished: FAILURE

      But this version contains the needed command:

      docker exec --help
      Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
      Run a process in a running containerDescription:
        Execute the specified command inside a running container.
      Usage:
        podman exec [flags] CONTAINER [COMMAND [ARG...]]Examples:
        podman exec -it ctrID ls
        podman exec -it -w /tmp myCtr pwd
        podman exec --user root ctrID lsFlags:
            --detach-keys string   Override the key sequence for detaching a container. Format is a single character [a-Z] or ctrl-<value> where <value> is one of: a-z, @, ^, [, , or _
        -e, --env stringArray      Set environment variables
        -i, --interactive          Keep STDIN open even if not attached
        -l, --latest               Act on the latest container podman is aware of
            --preserve-fds int     Pass N additional file descriptors to the container
            --privileged           Give the process extended Linux capabilities inside the container.  The default is false
        -t, --tty                  Allocate a pseudo-TTY. The default is false
        -u, --user string          Sets the username or UID used and optionally the groupname or GID for the specified command
        -w, --workdir string       Working directory inside the container
       

            Assignee:
            Unassigned
            Reporter:
            mdc system
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: