Quantcast
Viewing all articles
Browse latest Browse all 6168

run sudo commands inside a docker container with not sudo user [closed]

We have a user who does not have sudo access in the operating system. But I want to allow this user to run various commands, even commands that require sudo access, in a specific docker container.In other words, this user must have sudo access in this particular container. How can I do this?

Currently, even the user who is sudo is not able to run a command like apt install in this particular container, and when running the sudo command, we encounter a not found error.


Viewing all articles
Browse latest Browse all 6168

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>