Docker Community Forums

Share and learn in the Docker community.

Rundeck image as non-root user


I’m trying to build a Docker Image for rundeck (based on jjethwa/rundeck for example) but it doesn’t work.

I have created a “rundeck” user in the Dockerfile :

RUN adduser -D rundeck
USER rundeck

The image appears to be successfully built but when I try to start the container, it fails …

What would you ?
Do I use the right image ?
Do you have an example of Dockerfile to run rundeck as non root ?

Thanks for your help.