summaryrefslogtreecommitdiff
path: root/docker/debian/run-docker-for-bitmask.sh
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-09-24 15:09:58 -0400
committerKali Kaneko <kali@leap.se>2015-09-24 15:09:58 -0400
commit08694af26b7b3d2e480c8379745dd5234315c87d (patch)
treeb38ce71cc7073bb573db97ca0dfc0c6ba0aa860f /docker/debian/run-docker-for-bitmask.sh
parentddc30afd194bb31a24cf5097fba8680721834b1f (diff)
parentaa31828fca8bb64ace56f6f3b2b94f90ffced3c2 (diff)
Merge tag '0.9.0rc3' into debian/experimental
Tag leap.bitmask version 0.9.0rc3
Diffstat (limited to 'docker/debian/run-docker-for-bitmask.sh')
-rwxr-xr-xdocker/debian/run-docker-for-bitmask.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/docker/debian/run-docker-for-bitmask.sh b/docker/debian/run-docker-for-bitmask.sh
new file mode 100755
index 00000000..9ffb400b
--- /dev/null
+++ b/docker/debian/run-docker-for-bitmask.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+# NOTE: to get X11 socket forwarding to work we need this
+xhost local:root
+
+docker run --rm -it \
+ --net host \
+ --privileged \
+ -v /tmp/.X11-unix:/tmp/.X11-unix \
+ -e DISPLAY=unix$DISPLAY \
+ -v `pwd`:/host/ \
+ -p 1984:1984 -p 2013:2013 \
+ ubuntu:vivid bash
+
+# NOTE: what to do next?
+# Install bitmask package:
+# $ apt-bitmask.sh stable
+# Install polkit agent (bitmask needs it):
+# $ apt-get install lxpolkit
+# Run polkit in background:
+# $ lxpolkit & # this will show you a message like: 'No session for pid 5801', ignore it
+# Run bitmask:
+# $ bitmask -d