Skip to content

[feat] Add --mount tmpfs with exec support for vscode devcontainer #45385

@loynoir

Description

@loynoir

Description

vscode devcontainer.json

  "mounts": [
    "type=tmpfs,destination=/tmp,tmpfs-mode=1777,exec=true",
invalid argument "type=tmpfs,destination=/tmp,tmpfs-mode=1777,exec=true" for "--mount" flag: unexpected key 'exec' in 'exec=true'
See 'docker run --help'.

vscode devcontainer.json

  "mounts": [
    "type=tmpfs,destination=/tmp,tmpfs-mode=1777,exec",
invalid argument "type=tmpfs,destination=/tmp,tmpfs-mode=1777,exec" for "--mount" flag: invalid field 'exec' must be a key=value pair
See 'docker run --help'.

#32131 (comment)

moby/sys#66

That pr is merged, but what happend here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/volumesVolumeskind/enhancementEnhancements are not bugs or new features but can improve usability or performance.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions