Artur Mukhamadiev f4e1e1a4f4 init
2025-10-07 20:35:19 +03:00

14 lines
242 B
Bash
Executable File

#!/bin/bash
if [[ $# -ne 1 ]]; then
echo "using: $(basename $0) <container name>"
exit 1
fi
docker run -it \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $HOME/.Xauthority:/root/.Xauthority \
-e DISPLAY=$DISPLAY \
$1 bash