Docker Community Forums

Share and learn in the Docker community.

Setting up an Operational User Account within a Docker Image

#1

Hi All,

I am using Docker to host private build agents for my CI/CD process. My current process requires me to manually pull down, run, and execute a new docker container via my local terminal every day in order to successfully build my CI/CD deployments for that day (Please correct my terminology if needed as I am new to docker). At the end of my day, I exit out of this docker container and delete the build agent, and repeat this process the following day.

What I would like to do it setup my docker image with an operational user account that would ideally automate the process mentioned above. If I do not manually follow the steps I mentioned, my CI/CD builds fail.

Is this process possible? Looking forward to hearing your feedback.