diff --git a/Dockerfile b/Dockerfile index 3b2ada7..9a0b497 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ FROM bitnami/minideb:stretch LABEL maintainer="@ManuelLR " ENV GIT_URL https://github.com/lupoDharkael/flameshot.git -ENV GIT_BRANCH v0.5.0 +ENV GIT_BRANCH v0.5.1 ENV BUILD_PACKAGES git g++ build-essential qt5-qmake qt5-default qttools5-dev-tools ENV RUNTIME_PACKAGES libqt5dbus5 libqt5network5 libqt5core5a libqt5widgets5 libqt5gui5 openssl ca-certificates diff --git a/README.md b/README.md index 7596bf3..0efb980 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Dockerized - [Flameshot](https://github.com/lupoDharkael/flameshot) Based on https://gist.github.com/slok/acb235ae30129307fd53 ```bash -KEY=$(xauth list | grep $(hostname) | awk '{ print $3 }' | head -n 1) +KEY=$(xauth list | grep $(hostname) | awk '{ print $3 }' | head -n 1) DCK_HOST=docker-flameshot xauth add $DCK_HOST/unix:0 . $KEY @@ -24,3 +24,12 @@ docker run -it --rm \ - `--env="QT_X11_NO_MITSHM=1"` - `--privileged`: Fix LibGL errors +## Troubleshooting +### Could not connect to display +Maybe the container haven't access to the GUI because it run with root permission. + +Try this command: +```bash +xhost local:root +``` +