question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Don't run as root

See original GitHub issue

Some recipes have been doing things to the system that normal conda users don’t necessarily have the permissions to do (e.g. modifying /var/ or /etc/) - if we ran as a non-root user in the docker container, we would be able to protect against these kinds of recipes automatically.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
jakirkhamcommented, Jan 6, 2018

The docker image no longer runs as root. Now runs under the conda user. Thanks @gqmelo for all the work on this front. 🎉

1reaction
gqmelocommented, Apr 12, 2017

@jakirkham, don’t forget that https://github.com/conda-forge/docker-images/pull/36 needs to be merged to really run as a non-root user

Read more comments on GitHub >

github_iconTop Results From Across the Web

windows - Why is it bad to run as root? - Super User
I remember always running as root when I first tried Linux years ago (Redhat and Mandrake) and don't remember running into any problems...
Read more >
Don't run this as Root! - Docker Image - Ask Ubuntu
Since you can "log out" of root from command line, run the first command that logged you in as root, type exit, (logs...
Read more >
Get the evil out - don't run containers as root - Amazic
One of the key arguments to avoid running a container as root is to prevent privilege escalation. A root user inside a container...
Read more >
non root user detected Please run as root | FIX - YouTube
If you encounter this error in Linux, you only need to run command sudo -i and you will be able to run your...
Read more >
Processes In Containers Should Not Run As Root - Medium
Most containerized processes are application services and therefore don't require root access. While Docker requires root to run, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found