Skip to content

Instantly share code, notes, and snippets.

@neuthral
Created August 7, 2022 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neuthral/90f4252324631c96c703ce006e8c2ad1 to your computer and use it in GitHub Desktop.
Save neuthral/90f4252324631c96c703ce006e8c2ad1 to your computer and use it in GitHub Desktop.
#!/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