acs-community-packaging icon indicating copy to clipboard operation
acs-community-packaging copied to clipboard

Dockerfile - VOLUME is missing

Open mzmrk opened this issue 5 years ago • 1 comments

Please add following entry to Dockerfile: VOLUME /usr/local/tomcat/alf_data

Without VOLUME entry, files uploaded by users are getting removed whenever docker image instance is removed/recreated.

From docker documentation:

VOLUME Dockerfile reference for the VOLUME instruction

The VOLUME instruction should be used to expose any database storage area, configuration storage, or files/folders created by your docker container. You are strongly encouraged to use VOLUME for any mutable and/or user-serviceable parts of your image.

Alfresco backup docs: https://docs.alfresco.com/6.1/concepts/backup-intro.html

mzmrk avatar May 07 '19 10:05 mzmrk

Hi, thanks for raising this. We will try address this issue in REPO-4397

killerboot avatar May 09 '19 10:05 killerboot