Giter Site home page Giter Site logo

docker-playonlinux's Introduction

Docker-playonlinux

A Dockerbuild to create a docker image with playonlinux... a must have for all you Linux gamers

Installation:

git clone https://github.com/HEnKHub/Docker-playonlinux
docker build -t playonlinux <build file path>

Or get the image from Docker hub:

docker pull joriss/playonlinux

Usage:

docker run -it --privileged -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix:rw -v /dev/snd:/dev/snd:rw [-v <local dir for playonlinux>:/home/gamer:rw] playonlinux

The mount to your gamer dir is optional, but if you want to store saves outside of your container it is recommended.

3D Hardware Acceleration

Hardware acceleration is possible. You will need to have correct drivers installed in this build (this image is tested with an Intel Iris Pro 5200 and the Intel drivers are installed by default in Ubuntu. Use the following parameter in your docker run command when using an Intel video card:

--device /dev/dri/card0:/dev/dri/card0

Examples of running

First time usage:

docker run -it --privileged --device /dev/dri/card0:/dev/dri/card0 -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix:rw -v /dev/snd:/dev/snd:rw -v /home/joriss/Documents/Gamer:/home/gamer:rw --name playonlinux joriss/playonlinux

After running for the first time:

docker start playonlinux

docker-playonlinux's People

Contributors

hugecannon avatar

Watchers

 avatar  avatar

Forkers

itisopen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.