Skip to content

bind-create-src option for bind mounts is ignored #3234

@neben

Description

@neben

Setting this option on a bind mount should auto-create the source directory on the host. However, it has no effect and the task can not be created:

invalid mount config for type \"bind\": bind source path does not exist:

Here's the compose snippet:

    volumes:
      - type: bind
        source: /dir/does/not/exist
        target: /mnt,bind-create-src

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions