Update usage description of slack & keepass2 (#203)

* Update usage section to allow command line arguments

CMD was changed to ENTRYPOINT, the USAGE section didn't reflect this change

* Update usage to reflect a recent usage bug fix

Aligned usage description to include a recently found bugfix.

Added & adjusted other possible command line options.
This commit is contained in:
Volker 2016-10-29 13:09:23 -04:00 committed by Jess Frazelle
parent 07cf16f56d
commit f9b1205a5f
2 changed files with 9 additions and 4 deletions

View File

@ -9,7 +9,7 @@
# -v /home/$USER/DB.kdbx:/root/DB.kdbx \ # -v /home/$USER/DB.kdbx:/root/DB.kdbx \
# -v /tmp/.X11-unix:/tmp/.X11-unix \ # -v /tmp/.X11-unix:/tmp/.X11-unix \
# -e DISPLAY=$DISPLAY \ # -e DISPLAY=$DISPLAY \
# keepass2 # keepass2 "$@"
# #
# ISSUES: # ISSUES:
# # 'Gtk: cannot open display: :0' # # 'Gtk: cannot open display: :0'

View File

@ -4,10 +4,15 @@
# -v /etc/localtime:/etc/localtime:ro \ # -v /etc/localtime:/etc/localtime:ro \
# -v /tmp/.X11-unix:/tmp/.X11-unix \ # -v /tmp/.X11-unix:/tmp/.X11-unix \
# -e DISPLAY=unix$DISPLAY \ # -e DISPLAY=unix$DISPLAY \
# --device /dev/snd:/dev/snd \ # --device /dev/snd \
# --device /dev/dri:/dev/dri \ # --device /dev/dri \
# --device /dev/video0 \
# --group-add audio \
# --group-add video \
# -v "${HOME}/.slack:/root/.config/Slack" \
# --ipc="host" \
# --name slack \ # --name slack \
# jess/slack # jess/slack "$@"
FROM debian:stretch FROM debian:stretch
MAINTAINER Jessie Frazelle <jess@linux.com> MAINTAINER Jessie Frazelle <jess@linux.com>