Skip to content

[FAQ] Kestra does not run because of Docker error "mounts denied: The path /tmp/... is not shared from the host" #291

Description

@eyzyly

Course

llm-zoomcamp

Question

How do I fix the Docker error "mounts denied: The path /tmp/... is not shared from the host"?

Answer

Add the path to Docker File Sharing (Recommended)

You need to explicitly tell Docker Desktop that it is allowed to access your host's /tmp directory.

  1. Open Docker Desktop.
  2. Click the Gear icon (Settings) in the top right corner.
  3. Navigate to Resources > File Sharing.
  4. Click the + (Add) button.
  5. Enter /tmp (or the specific path like /tmp/kestra-wd) and press Enter.
  6. Click Apply & restart.

Once the changes are applied, go to the terminal and rerun the docker compose command (docker compose up -d) to stand up Kestra

Checklist

  • I have searched existing FAQs and this question is not already answered
  • The answer provides accurate, helpful information
  • I have included any relevant code examples or links

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    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