mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2026-07-18 00:45:59 +00:00
11 lines
361 B
Bash
Executable file
11 lines
361 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
image="$1"
|
|
if [[ -z "$image" ]]; then
|
|
echo >&2 "Usage: $(basename "$0") <image>"
|
|
exit 1
|
|
fi
|
|
|
|
docker run --rm -it -e VNC_PW=bushel9 -e KASM_EGL_CARD=/dev/dri/card0 -e KASM_RENDERD=/dev/dri/renderD128 --device /dev/dri/card0:/dev/dri/card0:rwm --device=/dev/dri/renderD128:/dev/dri/renderD128:rwm --group-add=106 -p 443:6901 "$image" bash
|