Skip to content

Commit

Permalink
Add changes for 638bc8e
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 10, 2023
1 parent 40d61e6 commit 3f34fa9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _sources/docker.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ Volume exercises
docker run --user
-----------------

It is possible to run certain containers with a specific user, appending ```run --user```.
It is possible to run some containers with a specific user, appending ```run --user```.

A convenient command would be:

Expand Down
2 changes: 1 addition & 1 deletion docker.html
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ <h2>Volume exercises<a class="headerlink" href="#volume-exercises" title="Link t
</ol>
<section id="docker-run-user">
<h3>docker run –user<a class="headerlink" href="#docker-run-user" title="Link to this heading"></a></h3>
<p>It is possible to run certain containers with a specific user, appending <code class="docutils literal notranslate"><span class="pre">`run</span> <span class="pre">--user`</span></code>.</p>
<p>It is possible to run some containers with a specific user, appending <code class="docutils literal notranslate"><span class="pre">`run</span> <span class="pre">--user`</span></code>.</p>
<p>A convenient command would be:</p>
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="go">docker run --user $(id -u):$(id -g) --detach --volume $(pwd)/test:/scratch --name user_test biocontainers/fastqc:v0.11.9_cv7 touch /scratch/userfile</span>
</pre></div>
Expand Down
Loading

0 comments on commit 3f34fa9

Please sign in to comment.