Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ma91n/localstackmount
S3 on LocalStack mount by go-fuse
https://github.com/ma91n/localstackmount
Last synced: 6 days ago
JSON representation
S3 on LocalStack mount by go-fuse
- Host: GitHub
- URL: https://github.com/ma91n/localstackmount
- Owner: ma91n
- License: apache-2.0
- Created: 2022-08-21T12:43:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-28T15:24:57.000Z (about 2 years ago)
- Last Synced: 2024-06-20T11:12:05.934Z (5 months ago)
- Language: Go
- Homepage:
- Size: 53.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# localstackmount
S3 on LocalStack mount by go-fuse## OSX settings
Mac OSX is not supported FUSE.
Install osxfuse below link.
https://osxfuse.github.io/2020/10/05/OSXFUSE-3.11.2.html
## WSL settings
Make sure you edit
`/etc/fuse.conf` and add `user_allow_other`.
* https://github.com/microsoft/WSL/issues/8580
* https://github.com/microsoft/WSL/issues/8498## Quick start
```sh
# if you want run localstack
# docker-compose up -d localstackgo install github.com/ma91n/localstackmount@latest
localstackmount# s3 list-buckets (aws --profile local --endpoint-url http://localhost:4566 s3api list-buckets)
ls ~/mount/localstack# s3 list-objects (aws --profile local --endpoint-url http://localhost:4566 s3api list-objects --bucket )
ls ~/mount/localstack/# s3 create object as folder
mkdir ~/mount/localstack//my-folder# s3 create object
cd ~/mount/localstack//my-folder/
echo "hello localstackmount" > hello.txt# s3 get object
cat hello.txt
```## Limitations
* [ ] does not store file `mode` / `owner` / `group`
* [ ] does not support `symlink` or `hardlink`
* [ ] `ctime`, atime and `mtime` are partially implement.
* [ ] cannot `rename` virtual directory. only support directory object.