Cannot connect to docker daemon


i need help!

Did you press return after the

./launcher rebuild app

?

1 Like

please guide me! Thanks

Try running it as root.

1 Like

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?

3 Likes

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
3 Likes

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!

2 Likes

That’s correct as discourse-setup will create swap and that is a root only operation. And this discussion is off-topic :smile:

2 Likes