Commit 6cd87ec0 authored by nimrod's avatar nimrod
Browse files

- Added alias for running netdata dockerized.

parent 7724ef48
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -75,6 +75,7 @@ alias todo="vim \$HOME/Documents/TODO.yml"
alias sudo="sudo "
alias presentation='docker run -itv "$PWD:/project" adarnimrod/presentation'
alias prune_prerun='find "$HOME" -maxdepth 1 -name ".prerun.*" -print0 | grep -zv "$(pgrep -u "$(id -u)" bash)" | xargs -0r rm '
alias netdata='docker run --detach --name netdata --cap-add SYS_PTRACE --volume /proc:/host/proc:ro --volume /sys:/host/sys:ro --volume /var/run/docker.sock:/var/run/docker.sock --publish 19999:19999 firehol/netdata'

deduce_aws_region () {
    AWS_DEFAULT_REGION="$(python << EOF