findhotel / aws-s3-mount Goto Github PK
View Code? Open in Web Editor NEWMount amazon s3 folder into a container and export it as a volume
Mount amazon s3 folder into a container and export it as a volume
I am not able to mount the S3 bucket as expected. The log shows the error "operation not permitted".
[root@ip-10-45-156-16 mnt]# docker logs 3f9a77d504dc
...
2016-03-22 14:12:36,593 INFO S3 Request Payer: 'False'
2016-03-22 14:12:36,593 INFO Cache path (on disk): '/tmp/yas3fs/loffice'
2016-03-22 14:12:36,637 INFO Unique node ID: '619b33ae-ed60-48e3-a690-1d97a3cc5ea3'
fuse: failed to open /dev/fuse: Operation not permitted
2016-03-22 14:12:36,638 ERROR Uncaught Exception: <type 'exceptions.RuntimeError'> 1 <traceback object at 0x7fe398078bd8>
None
I expect to load the adminer.php file that is available in "loffice" bucket of S3.
http://23.21.167.60:8070/adminer.php
I tried these commands ...
docker create -v /mnt --name s3store -e AWS_ACCESS_KEY_ID='xxx' -e AWS_SECRET_ACCESS_KEY='xxx' -e S3_PATH='loffice/' --privileged innovativetravel/aws-s3-mount
docker run -d -p 8070:80 --volumes-from s3store --name mydb1 ishiidaichi/apache-php-mongo-phalcon
But I get "Not Found" page. How do I connect volume named s3store to /var/www/html of php container?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.