mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2026-02-06 11:27:19 +00:00
VNC-151 Update container run command to include GPU device mapping for video acceleration
This commit is contained in:
parent
7429dfca1c
commit
0582e63ebc
@ -44,7 +44,8 @@ for file in "$script_dir"/dockerfile.*.build; do
|
||||
|
||||
echo "Running container from image '$image_name'"
|
||||
# Run the container and capture the exit code
|
||||
docker run -it -v "$current_dir":/src -v "$current_dir/builder/build":/build "$image_name"
|
||||
docker run -it -v "$current_dir":/src -v "$current_dir/builder/build":/build --device=/dev/dri:/dev/dri "$image_name"
|
||||
|
||||
exit_code=$?
|
||||
|
||||
echo "Container for image '$image_name' "
|
||||
|
||||
Loading…
Reference in New Issue
Block a user