성진영
11/28/2023, 7:58 AM:/mnt
),
the same server that lakeFS docker container is operating.
sudo docker run \
-v /mnt:/home/lakefs/ext_data \
-p 8000:8000 \
-e LAKEFS_DATABASE_TYPE=postgres \
...
-e LAKEFS_AUTH_ENCRYPT_SECRET_KEY="lakefs" \
-e LAKEFS_BLOCKSTORE_TYPE=local \
-e LAKEFS_BLOCKSTORE_LOCAL_PATH="~/lakefs" \
-e LAKEFS_BLOCKSTORE_LOCAL_IMPORT_ENABLED=true \
-e LAKEFS_BLOCKSTORE_LOCAL_ALLOWED_EXTERNAL_PREFIXES="/mnt" \
treeverse/lakefs:latest run
I can access all files in NAS via docker volume (:/home/lakefs/ext_data
)
but can't figure it out how to import files inside the LakeFS repository.Niro
11/28/2023, 8:28 AMAmit Kesarwani
11/28/2023, 9:58 PMimport_enabled: true
and allowed_external_prefixes
, as mentioned here: https://docs.lakefs.io/howto/deploy/onprem.html#local-blockstore성진영
11/28/2023, 11:21 PM