Hi. I am exploring docker deployment of airbyte a...
# replication-ask-ai
a
Hi. I am exploring docker deployment of airbyte and i encountered a service init which is creating /tmp/airbyte_local which is getting mounted on server and worker’s container. what is significance of this directory. why do we need this ? is it necessary to be created on host only where docker deamon is running? or we could create and mount from any filesystem services.
k
The
/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)
a
KEYCLOAK_INTERNAL_HOST environment variable is used in webapp what it means, what should be its value if containers are deployed on distributed hosts.