Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
PR #1719: rm obsolete FAQ about sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
reidpr authored Sep 7, 2023
1 parent d2dbb00 commit 59b2bf3
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions doc/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -530,27 +530,6 @@ other stuff cannot be written anywhere in the image. You have three options:
3. Run the image read-write with :code:`ch-run -w`. Be careful that multiple
containers do not try to write to the same files.

Which specific :code:`sudo` commands are needed?
------------------------------------------------

For running images, :code:`sudo` is not needed at all.

For building images, it depends on what you would like to support. For
example, do you want to let users build images with Docker? Do you want to let
them run the build tests?

We do not maintain specific lists, but you can search the source code and
documentation for uses of :code:`sudo` and :code:`$DOCKER` and evaluate them
on a case-by-case basis. (The latter includes :code:`sudo` if needed to invoke
:code:`docker` in your environment.) For example::

$ find . \( -type f -executable \
-o -name Makefile \
-o -name '*.bats' \
-o -name '*.rst' \
-o -name '*.sh' \) \
-exec egrep -H '(sudo|\$DOCKER)' {} \;

OpenMPI Charliecloud jobs don’t work
------------------------------------

Expand Down

0 comments on commit 59b2bf3

Please sign in to comment.