GithubHelp home page GithubHelp logo

pobdocker's Introduction

Path of Building in Docker

Since Path of Exile is gloriously working under Linux systems in these days, some might want to run Path of Building under Linux as well. Path of Building is mainly intended for Windows systems, but it works well under wine. However, the process for making it work, or using regularly might be sometimes laborious. Or one might rather keep their host system clean and easily controllable.

This repository contains Dockerfile and short instructions for using it straightforwardly. It hopefully works in any Linux distribution. Only Docker daemon is required. Currently only Wayland is tested.

Usage

Usage requires Docker image and a set of parameters for running the Docker container. Dockerimage contains all required runtime dependencies. You can download and run the script which does everything (See script contents.):

curl -sL https://raw.githubusercontent.com/Nicceboy/pobdocker/main/pob > pob && bash pob

On first time, it will prompt for installation of PoB. For making saved data to be persisted even if the image is removed, named volume is used. Make sure to install the software for its default location.

On second run, the volume is detected and already installed binary is executed, and PoB can be used.

To install the script for making usable everywhere, for example just move it to `/usr/local/bin/ The script was downloaded into current directory with the previous one-liner.

sudo mv pob /usr/local/bin/

Then it can be used by running pob.

Details

By default, PoB and saved data has been installed into the volume named as pathofbuilding.

You can remove the volume with:

docker volume rm pathofbuilding

To remove the image:

docker image rm ghcr.io/nicceboy/pobdocker

Troubleshooting

Wayland users might have problems if UID of the current user is not 1000. Container image should be rebuild to match the UID of the current user to allow using the X11-unix socket for display to work.

Pure X11 display server on host seems to currently work if the host network and TCP is used to share the server. This requires modification of the pob file to include Docker parameter --net=host; however, it might be unwanted if there are concerns about isolation.

Licence

MIT

pobdocker's People

Contributors

nicceboy avatar

Watchers

 avatar  avatar

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.