#!/bin/sh

docker rm --force webex || true
docker build --tag=webex .
docker run -ti \
	--env DISPLAY=unix$DISPLAY \
	--lxc-conf='lxc.cgroup.devices.allow = c 116:* rwm' \
	--name=webex \
	--volume /dev/snd:/dev/snd \
	--volume /tmp/.X11-unix:/tmp/.X11-unix \
	webex

#!/bin/sh

docker rm --force webex >/dev/null 2>&1
docker build --tag=webex .
docker run -ti \
	--env DISPLAY=unix$DISPLAY \
	--lxc-conf='lxc.cgroup.devices.allow = c 116:* rwm' \
	--name=webex \
	--volume /dev/snd:/dev/snd \
	--volume /tmp/.X11-unix:/tmp/.X11-unix \
	webex $1

Allow to specify a command
Allow to specify a command

Silence docker rm output while here.
