Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.

Permission denied to create directory /porter #148

@tompaana

Description

@tompaana

When we try to run an install action with the CNAB driver and using a bundle published in a registry (porter install <installation name> --driver azure --reference <bundle registry ref> ...), we run into the following error:

Creating Azure Container Instance To Execute Bundle
Running Bundle Instance in Azure Container Instance
mkdir: cannot create directory '/porter': Permission denied

Porter version used: 1.0.14

Error happening possibly on line 1072 of aci-driver.go.

Building a Porter bundle by using a Dockerfile template with line RUN mkdir /porter && chown ${BUNDLE_UID} /porter will work, but this is a workaround very hard to sell.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions