User Tools

Site Tools


linux:docker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:docker [2025/09/03 23:56] – [GPU hardware acceleration] Wulf Rajeklinux:docker [2025/09/04 00:12] (current) – [GPU hardware acceleration] Wulf Rajek
Line 173: Line 173:
         user: root         user: root
 </code> </code>
 +
 +nvtop can be used for AMD and NVidia gpus to see if the gpu is being used.
 +On Debian, nvtop is in the contrib repositories which need to be added.
 +<code>
 +#bookworm
 +sed -r 's/^deb(.*)$/deb\1 contrib/g' /etc/apt/sources.list
 +
 +#new deb822 sources format
 +sed -i 's/^Components: main$/& contrib non-free non-free-firmware/' /etc/apt/sources.list.d/debian.sources
 +
 +apt update
 +</code>
 +On Ubuntu systems, nvtop is in the default repositories.
 +<code>
 +apt-get install nvtop
 +</code> 
 ===== docker ps short ===== ===== docker ps short =====
 Short form of docker ps to only get the container names: Short form of docker ps to only get the container names:
linux/docker.1756940202.txt.gz · Last modified: by Wulf Rajek