Created
August 7, 2022 18:37
-
-
Save neuthral/90f4252324631c96c703ce006e8c2ad1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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