Skip to content

Instantly share code, notes, and snippets.

@GeertJohan
Created February 23, 2015 10:43
Show Gist options
  • Save GeertJohan/9d33301fc5148ebd0476 to your computer and use it in GitHub Desktop.
Save GeertJohan/9d33301fc5148ebd0476 to your computer and use it in GitHub Desktop.
#!/bin/sh
docker run -ti --rm \
-e DISPLAY=$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v /var/run/dbus:/var/run/dbus \
-v /downloads:/root/downloads \
ktorrent
FROM ubuntu
RUN apt-get update && apt-get install -y ktorrent
CMD /usr/bin/ktorrent
$ ./dockrun-ktorrent
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
unnamed app(7): KUniqueApplication: Cannot find the D-Bus session server: "//bin/dbus-launch terminated abnormally with the following error: No protocol specified
Autolaunch error: X11 initialization failed.
"
unnamed app(6): KUniqueApplication: Pipe closed unexpectedly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment