Title
#lakefs-for-beginners
f

Fizza Abid

11/25/2022, 8:12 AM
Hello, when in storage namespace I am giving s3 path, it says
Can only create repository with storage type: local
, how should I give s3 path?
Yoni Augarten

Yoni Augarten

11/25/2022, 8:19 AM
Hey, @Fizza Abid! This error means you are running lakeFS on top of your local disk. Follow this page to install on top of S3.
Oz Katz

Oz Katz

11/25/2022, 8:33 AM
alternatively, if this is not yet a production installation, you can run lakeFS locally, pointing to s3 by passing the required configuration values for it. For docker it would look something like this:
docker run --pull always -p 8000:8000 \
    -e LAKEFS_BLOCKSTORE_TYPE="s3" \
    -e LAKEFS_BLOCKSTORE_S3_CREDENTIALS_ACCESS_KEY_ID="<S3 access key ID>" \
    -e LAKEFS_BLOCKSTORE_S3_CREDENTIALS_SECRET_ACCESS_KEY="<S3 secret access key>" \
    treeverse/lakefs run --local-settings