FindHotel / aws-s3-mount

Mount amazon s3 folder into a container and export it as a volume
30 stars 39 forks source link

Using volumes from s3 #3

Open shantanuo opened 8 years ago

shantanuo commented 8 years ago

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?

nafg commented 8 years ago

Seems not possible

bubenkoff commented 8 years ago

as mentioned in another issue already, it's not possible to export mounted volume from container like this this project was created to use it like you do, but failed