Go to file
Ben Kristinsson 00e8f6c971 info in README, fixed up Dockerfile 2022-09-16 10:12:00 +02:00
.gitignore Initial commit 2022-09-15 20:52:45 +00:00
Dockerfile info in README, fixed up Dockerfile 2022-09-16 10:12:00 +02:00
LICENSE Initial commit 2022-09-15 20:52:45 +00:00
README.md info in README, fixed up Dockerfile 2022-09-16 10:12:00 +02:00
build.sh info in README, fixed up Dockerfile 2022-09-16 10:12:00 +02:00
steam.sh info in README, fixed up Dockerfile 2022-09-16 10:12:00 +02:00

README.md

playonlinux-docker

a docker container with PlayOnLinux, base image is Ubuntu 22.04.

build

with default $USERNAME=player and $UID=1000:

docker build -t playonlinux .

if you need or want to use a different UID or username:

docker build --build-arg UID=1001 --build-arg USERNAME=user -t playonlinux .

run

start PlayOnLinux:

mkdir ~/playonlinux

docker run --rm -it --privileged \
  --device /dev/dri/card0:/dev/dri/card0 \
  -e DISPLAY=:0 \
  -v /tmp/.X11-unix:/tmp/.X11-unix:rw \
  -v /dev/snd:/dev/snd:rw \
  -v ~/playonlinux:/home/ben:rw \
  playonlinux

starting Steam:

docker run --rm -it --privileged \
  --device /dev/dri/card0:/dev/dri/card0 \
  -e DISPLAY=:0 \
  -v /tmp/.X11-unix:/tmp/.X11-unix:rw \
  -v /dev/snd:/dev/snd:rw \
  -v ~/playonlinux:/home/ben:rw \
  playonlinux --run Steam