Created
February 23, 2015 10:43
-
-
Save GeertJohan/9d33301fc5148ebd0476 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
RUN apt-get update && apt-get install -y ktorrent | |
CMD /usr/bin/ktorrent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./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