Skip to content

← All questions

Refusing to install as root — our build agent only has a root account

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

Trying to bake SDODS into our build image. The agent runs everything as root, and the installer stops:

text
Refusing to install as root.
  Browsers and npm caches installed as root break for normal users.
  Re-run as your own user, or set SDODS_ALLOW_ROOT=1 if this is a container.

I understand why it does this on a laptop. On a throwaway agent there is no other user to be.

2 answers

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related