Skip to content

rafzei/goofys

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goofys

Goofys S3 Filesystem Docker Implementation.
Fork of Cloudposse

This image is available here

Env variables and default values

MOUNT_DIR /mnt/s3
REGION us-east-1
BUCKET teleport-bucket
STAT_CACHE_TTL 1m0s
TYPE_CACHE_TTL 1m0s
DIR_MODE 0700
FILE_MODE 0600
UID 1000
GID 1000
MOUNT_ACCESS nonempty
CREATE_USER False
NEW_GROUP group
NEW_USER user

If CREATE_USER = True, new group NEW_GROUP(default:group) and new user NEW_USER (default:user) will be created

Examples

export AWS_ACCESS_KEY_ID=`grep aws_access_key_id ~/.aws/credentials | awk '{print $3}'`
export AWS_SECRET_ACCESS_KEY=`grep aws_secret_access_key ~/.aws/credentials | awk '{print $3}'`

docker run -it --rm --privileged -e BUCKET="bucket" -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY rafzei/goofys

By default S3 bucket will be mounted under /mnt/s3, but you could customize the mount point by setting MOUNT_DIR environment variable.

Help

Got a question?

File a GitHub issue, send us an email or reach out to us on Gitter.

Contributing

Bug Reports & Feature Requests

Please use the issue tracker to report any bugs or file feature requests.

Developing

If you are interested in being a contributor and want to get involved in developing goofys, we would love to hear from you! Shoot us an email.

In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.

  1. Fork the repo on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work back up to your fork
  5. Submit a Pull request so that we can review your changes

NOTE: Be sure to merge the latest from "upstream" before making a pull request!

License

APACHE 2.0 © 2018 Cloud Posse, LLC

See LICENSE for full details.

Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.

About

The goofys Docker implementation is maintained and funded by Cloud Posse, LLC.

Cloud Posse

Like it? Please let us know at hello@cloudposse.com

We love Open Source Software!

See our other projects or hire us to help build your next cloud platform.

Contributors

Erik Osterman
Erik Osterman
Andriy Knysh
Andriy Knysh

About

Goofys S3 Filesystem Docker Implementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 55.7%
  • Shell 25.1%
  • Makefile 19.2%