Question
ColdFusion 2021 Docker container runas non-root user
Hi,
Running the ColdFusion 2021 or 2018 Docker containers only seem to work as root.
Could this be verified? Anyone else having the same issue?
Using the out of box cfuser account fails - Docker logs:
"Updating webroot to /app
cp: cannot create regular file '/app/crossdomain.xml': Permission denied"
And:
"You must be root to start ColdFusion."
Stripped down Dockerfile I'm using:
FROM adobecoldfusion/coldfusion2021:latest
USER root
COPY /src /app
EXPOSE 8500
USER cfuser
I've also tried creating a group and user account with permissions on /app as specified in the 2021 lockdown guide - no dice
Wondering if there's an issue with the start-coldfusion.sh file maybe? Any help appreciated
Cheers,
Matt
