Skip to content

Commit

Permalink
minor edit
Browse files Browse the repository at this point in the history
  • Loading branch information
392781 committed Dec 3, 2024
1 parent 3968977 commit 9c86d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/devcontainer/basic-usage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ <h2 is-upgraded>Useful Links</h2>
<p>In order to activate GPU in container, some additional lines must be added to <code>devcontainer.json</code>:</p>
<pre>&#34;runArgs&#34;: [
...
&#34;--hostname=container&#34;, // note the comma!
&#34;--hostname=container&#34;, // note the comma!
&#34;--security-opt=label=disable&#34;, // required for GPU
&#34;--device=nvidia.com/gpu=all&#34;
// or gpu=0,1,2,... based on nvidia-smi output
Expand Down

0 comments on commit 9c86d33

Please sign in to comment.