SUMMARY
Hi, I am trying to run st2 on CentOS docker image and followed the installation steps provided in the docs. After the installation, I am trying to start the services using st2ctl start and it errors out saying "Please run this command with root privileges".
bash-4.2$ id
uid=7447 gid=0(root) groups=0(root),7447
bash-4.2$ st2ctl start
Please run this command with root privileges
I am doing this as part of writing the Dockerfile for installing st2 on CentOS. Unfortunately, I cannot use Ubuntu.
ISSUE TYPE
I see that we are checking for uid=0 here and can we skip this check if we are running st2ctl on a container?