i need help!
AI-generated summary
Cannot connect to docker daemon
viet_trai is experiencing issues with connecting to the docker daemon and seeks help. pfaffman suggests checking if the ./launcher rebuild app command was executed correctly, while Falco recommends running the command as root.
Falco provides the command to run as root:
sudo su
cd /var/discourse
./launcher rebuild app
viet_trai confirms that this command resolves the issue. pfaffman notes that the discourse-setup script should check if the current user can run docker, rather than assuming root access. Falco agrees, explaining that discourse-setup creates swap, which requires root access.
Did you press return after the
./launcher rebuild app
?

please guide me! Thanks
Try running it as root.
for me xin command to run
I had someone else with a similar issue (couldn’t enter a container because not root) yesterday. I thought that ./launcher checked to make sure that you were root. Did that change?
Not really launcher job as the sysadmin can grant the docker permission to other accounts, and docker install even prompts you to do so.
sudo su
cd /var/discourse
./launcher rebuild app
Hmm. I regularly use docker commands as non-root, but didn’t think that launcher would work.
So I guess this is wrong:
and it should instead check that the current user can run docker.
this command help me to solve the problem, thanks!
That’s correct as discourse-setup will create swap and that is a root only operation. And this discussion is off-topic ![]()

