Docker - Project image(folder) files store in external mounted path and acess it


We were having CS Cart project build as docker image and attaching external storage to the docker for file storage, but we can’t change the file storage directory outside the work directory.

Let say we have project at var/www/html then, we can only be allowed to save the files inside the same directory with the folder name as images.

Not able to store the file external-mounted-path/images/*


Try making the images folder as the symlink to the external mounted path.