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

Have a different question? Ask it.

Related