Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-2598

Enable relative path for podman imageCopyTmpDir

    • sst_container_tools
    • 3
    • False
    • Hide

      None

      Show
      None
    • Red Hat Enterprise Linux
    • RUN 252

      When imageCopyTmpDir is defined as a relative path by exporting "TMPDIR=.", it returns an error like below,

      [root@vm254-255 ~]# export TMPDIR=.
      [root@vm254-255 ~]# podman info | grep -i tmpdir
        imageCopyTmpDir: .
      [root@vm254-255 ~]# podman build -t image:latest -f Dockerfile 
      STEP 1/2: FROM ubi8
      STEP 2/2: RUN whomi
      error running container: checking permissions on "buildah2464577335": stat buildah2464577335: no such file or directory
      ERRO[0000] did not get container create message from subprocess: EOF 
      Error: building at STEP "RUN whomi": while running runtime: exit status 1

      Is it possible to enable specifying relative path. If not, can we make podman print a more meaningful error message ?

       

            rhn-support-jnovy Jindrich Novy
            rhn-support-vraghave Vignesh Raghavendran
            Tom Sweeney Tom Sweeney
            Yuhui Jiang Yuhui Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated: