Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/sh
image_name="keybaseio/client:latest"
contname="keybase"
nodename="--hostname=${contname}"
runname="--name=${contname}"
run_rm="--rm=true"
# build_rm="--force-rm=true"
ports=""
volumes="-v ~/.keybase:/home/keybase/.config/keybase"
with_tty="--tty"
with_interact="--interactive=false"
# build_context=$(dirname $0)
fuse_opts="--cap-add=SYS_ADMIN --cap-add=MKNOD --security-opt apparmor:unconfined --device=/dev/fuse"
docker run $nodename $runname $run_rm $ports $volumes $with_tty $with_interact $fuse_opts $image_name bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment