Aman Raj
10/19/2023, 7:28 AMkapa.ai
10/19/2023, 7:29 AM/tmp/airbyte_local directory is a special directory used by Airbyte when you set up a pipeline using local file-based destinations such as CSV, JSON, SQLite, or DuckDB. Airbyte writes the resulting files containing the data in this directory. By default, this volume is mounted from /tmp/airbyte_local on the host machine [^1^][^5^][^6^][^7^]. The LOCAL_ROOT environment variable in the .env file is set to /tmp/airbyte_local by default. This means the /local is substituted by /tmp/airbyte_local by default [^4^][^6^][^7^]. It's important to ensure that Docker Desktop has access to /tmp (and /private on a MacOS, as /tmp has a symlink that points to /private. It will not work otherwise). You allow it with "File sharing" in Settings -> Resources -> File sharing -> add the one or two above folder and hit the "Apply & restart" button [^1^][^4^][^5^][^6^][^7^]. The directory is necessary for local file-based destinations and it should be created on the host where the Docker daemon is running. However, if your Airbyte instance is running on a remote server, you can access the replicated files by accessing the scheduler container and navigating to the default local mount [^7^]. [^1^]: [Browsing Output Logs](https://docs.airbyte.com/operator-guides/browsing-output-logs) [^4^]: [Local JSON](https://docs.airbyte.com/integrations/destinations/local-json) [^5^]: [SQLite](https://docs.airbyte.com/integrations/destinations/sqlite) [^6^]: [Local CSV](https://docs.airbyte.com/integrations/destinations/csv) [^7^]: [DuckDB](https://docs.airbyte.com/integrations/destinations/duckdb)Aman Raj
10/19/2023, 10:38 AM