Created
July 10, 2019 00:07
-
-
Save duhruh/15fb99b8398dfcd8946f762ee6092746 to your computer and use it in GitHub Desktop.
Gui run in docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# docker build -t gui . | |
FROM debian | |
RUN apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get install -y xserver-xorg xorg jwm | |
ENTRYPOINT ["startx"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker run -i -t --privileged -v /dev/dri:/dev/dri -v /dev/snd:/dev/snd -v /dev/shm:/dev/shm -v /var/run/udev:/run/udev -v /var/run/docker:/run/docker -v /var/run/docker.sock:/run/docker.sock -v /dev/input:/dev/input -v /sys/fs/cgroup:/sys/fs/cgroup --network host gui |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment