8000 Allow passing docker volume flags for additional use cases (SELinux) · Issue #1575 · basecamp/kamal · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Allow passing docker volume flags for additional use cases (SELinux) #1575
Open
@bianchidotdev

Description

@bianchidotdev

Hey hey. Trying out Kamal to deploy some things and I'm running into issues with SELinux. Specifically, I typically pass a :z suffix to volume mounts to automatically configure SELinux rules for the docker mount (docs).

Example in an accessory:

accessories:
  example:
    service: example
    image: example
    hosts:
      - example.com
    files:
      - ./example.conf:/etc/example/example.conf:z

    proxy: false

However, when running with Kamal, this flag is stripped off instead of passed through to the docker run command. I'm not sure if other flags are supported too (like ro), but these volume mount flags are usually pretty useful and necessary for certain linux setups.

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

      0