Don't run as root
See original GitHub issueSome 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:
- Created 7 years ago
- Reactions:2
- Comments:10 (10 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The docker image no longer runs as
root
. Now runs under theconda
user. Thanks @gqmelo for all the work on this front. 🎉@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