Giter Club home page Giter Club logo

Comments (6)

Quetzacoalt91 avatar Quetzacoalt91 commented on June 19, 2024

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.

PolGuixe avatar PolGuixe commented on June 19, 2024

Thanks! @Quetzacoalt91

How do you mount an external filesystem e.g S3? Do you have any good references?

from docker.

Quetzacoalt91 avatar Quetzacoalt91 commented on June 19, 2024

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.

6pm avatar 6pm commented on June 19, 2024

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:

  1. remove old container
  2. 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 -

image

from docker.

roest01 avatar roest01 commented on June 19, 2024

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.

matks avatar matks commented on June 19, 2024

Hi, thanks for everybody participating in this issue, I think we got multiple great answers 😉 so I close it.

from docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.