linux:docker
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:docker [2025/09/03 22:38] – [GPU hardware acceleration] Wuff | linux:docker [2025/09/04 00:12] (current) – [GPU hardware acceleration] Wuff | ||
|---|---|---|---|
| Line 159: | Line 159: | ||
| security_opt: | security_opt: | ||
| - seccomp=unconfined | - seccomp=unconfined | ||
| + | environment: | ||
| + | - LIBVA_DRIVER_NAME=radeonsi | ||
| </ | </ | ||
| + | Alpine Linux docker images may require libva to be installed: | ||
| + | < | ||
| + | post_start: | ||
| + | # for 13th gen Iris Xe GPUs use intel-media-driver for older gens libva-intel-driver | ||
| + | # - command: apk add libva-intel-driver intel-media-driver | ||
| + | # user: root | ||
| + | # For AMD | ||
| + | - command: apk add libva libva-utils mesa-va-gallium | ||
| + | user: root | ||
| + | </ | ||
| + | |||
| + | 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. | ||
| + | < | ||
| + | #bookworm | ||
| + | sed -r ' | ||
| + | |||
| + | #new deb822 sources format | ||
| + | sed -i ' | ||
| + | |||
| + | apt update | ||
| + | </ | ||
| + | On Ubuntu systems, nvtop is in the default repositories. | ||
| + | < | ||
| + | apt-get install nvtop | ||
| + | </ | ||
| ===== 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.1756935490.txt.gz · Last modified: by Wuff