The code assumes root privileges when starting/stopping the service. This happened because an older version of docker required root to perform operations using docker.
A better solution would be to use docker and the scripts here as a non privileged user.
The code assumes root privileges when starting/stopping the service. This happened because an older version of docker required root to perform operations using docker.
A better solution would be to use docker and the scripts here as a non privileged user.