Comments (6)
By default, they are stored in the contained.
If you want to make them available outside the container (and why not in another filesystem), you have to create a volume on this folder.
You can find more information on this page: https://docs.docker.com/engine/tutorials/dockervolumes/
Best regards
from docker.
Thanks! @Quetzacoalt91
How do you mount an external filesystem e.g S3? Do you have any good references?
from docker.
Unfortunately, I never had the chance to do it by myself.
But after a small research, I found a tutorial to mount a S3 filesytem on a EC2 instance: https://forums.aws.amazon.com/thread.jspa?messageID=475840
One the filesystem is mounted, you just have to you it as a volume pour Docker instance. :)
from docker.
If you created container with command from documentation you only get access with ssh. But if you want open your project in editor(such as vscode) you have to reinstall project:
- remove old container
- docker run -ti --name some-prestashop --link some-mysql -e DB_SERVER=some-mysql -p 8080:80 -d -v ~/projects/presta:/var/www/html prestashop/prestashop
P.S. Difference between default command and my version is this option -v ~/projects/presta:/var/www/html
- it allow you to mount prestashop code folder to this folder in your PC ~/projects/presta
P.P.S. And I recommend you to use kinematic app - it is handy GUI for docker containers -
from docker.
to answer this question for 1.7 (google first result):
images are stored in /img
folder of your prestashop installation.
Some images also may stored in modules
folder for example within ps_imageslider
therefore you should mount following volumes:
prestashop-config:/var/www/html/app/config
prestashop-img: /var/www/html/img
prestashop-modules: /var/www/html/modules
from docker.
Hi, thanks for everybody participating in this issue, I think we got multiple great answers 😉 so I close it.
from docker.
Related Issues (20)
- Refresh docker images
- Using Docker Prestashop in Cloud
- DB reinstalled even if the value of $PS_ERASE_DB and $PS_INSTALL_DB is 0 HOT 1
- PrestaShop update debug regex not compatible with supplied defines_custom.inc.php
- Outdated description on docker hub HOT 5
- End of support for debian stretch - Failed to fetch stretch* 404 Not Found - Need to rebuild old images to use debian strech in archive repo
- I always encounter failures when downloading the language while trying to install Docker. How can I resolve this? Do I need to configure a proxy for Docker? HOT 1
- Prestashop 8.1 FPM with Nginx - 504 Gateway Timeout HOT 3
- Should Composer be included in some images ? HOT 2
- PrestaShop docker Permission denied after " Launching the installer script..."
- signal Segmentation fault on macOS M2 HOT 2
- NPM + Nginx 1.24 + PS 8.1.2 php 8.1 fpm HOT 1
- how to change PS_SHOP_DOMAIN
- PS 8.1.3-8.1-fpm conf HOT 1
- PHP config ignored? HOT 1
- Prestashop 1.7.2.5 with PHP 7.1 HOT 1
- Pass the modules option to the installer script
- installation is triggered at every container start
- internationalization issue message on fresh install
- PS_COUNTRY list ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker.