Container : Add Wayland support.

This commit is contained in:
Dmitry Voronin 2024-01-30 00:09:24 +03:00
parent b1e7b9cc58
commit 9b115d93fe

View file

@ -16,8 +16,12 @@ function ca() {
-d -it \
-h "${name}" --name "${name}" \
--workdir /data \
-e XDG_RUNTIME_DIR=/tmp \
-e WAYLAND_DISPLAY=${WAYLAND_DISPLAY} \
-v ${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY}:/tmp/${WAYLAND_DISPLAY} \
-v ${PWD}:/data \
-v ${HOME}:/root \
-v /tmp/.X11-unix:/tmp/.X11-unix \
debian:latest bash -c bash &> /dev/null
# Attempt to start container.