We have a docker image and we run our build process in it. At some point in the build process we need to execute an application that needs a service to be running.
The image is based on Ubuntu 14.04.
The service needs to be started when we run in the image. The service needs root privilege to be started, but the build process is run with normal user privilege.
To be more precise, codemeter is the service I want to start. Codemeter is installed in the image but service is not running. And I need it to encrypt my application. To start the service, the command is
service codemeter start
The command I run to start the build process in the image is :
docker run --rm -it -u 1000 -v
git rev-parse --show-toplevel:/home/developer/dev -w /home/developer/dev mono_build_x32:v1.7 bash -c
Can you help?