Open dimitry-ishenko opened 6 years ago
The only downside is that the files are owned by root. That's easy to fix. Simply add user with useradd
that has the same UID as you and use the USER
command to switch to it. Make sure you add a record to /etc/sudoers.d
.
Hope you are running Linux on your host, cuz this won't work on Weendoze :stuck_out_tongue_closed_eyes:
No windows for me here. Do you mind forking & submitting a PR?
By the way, thanks for the issue - I sort of dropped this project but this is a good time to revive it with the season starting again!
I don't like the xhost +local:root
part either. If I ever get around to it, I will figure out something better and will send a PR.
You have to download and extract LazyMan ahead of time.
Dockerfile:
Build:
docker build -t lazyman .
Run:
xhost +local:root ; docker run -it -v /tmp/.X11-unix/:/tmp/.X11-unix/ -v ~/download/nhl/:/root/download/ -e DISPLAY --rm lazyman ; xhost -local:root