Skip to content

Navigation Menu

Sign in
Sign up

Error: cannot run command "podman mount" in rootless mode, must execute podman unshare first #64

Open
Labels
bugSomething isn't working test::builderTest case to build the build image

Description

Issue

The following log https://console.redhat.com/application-pipeline/workspaces/cmoullia/applications/buildpack-remote/pipelineruns/builder-ubi-base-85r9k reports as error

Tip: Run 'pack build <image-name> --builder quay.io/redhat-user-workloads/cmoullia-tenant/buildpack-remote/builder-ubi-base:4c6f19482ada6ae79e7efe96589b375374e9e7c3' to use this builder
Container: dfc4b5984adede27c8c00e9039e99592801265255d89bbd91e560ce26d528005
Error: cannot run command "podman mount" in rootless mode, must execute `podman unshare` first
## Path of the filesystem mounted
...

even if the script execute the command

https://github.com/redhat-buildpacks/builder-ubi-base/blob/4c6f19482ada6ae79e7efe96589b375374e9e7c3/.tekton/pipelinerun-builder-ubi-base.yaml#L271-L275
podman unshare
container=$(podman create ${IMAGE})
echo "Container: $container"
podman mount $container | tee ${HOME}/shared/container_path

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working test::builderTest case to build the build image

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      AltStyle によって変換されたページ (->オリジナル) /