From e6118fd82f74bb31369589e2f416f2e4303a91f0 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Fri, 4 May 2018 22:15:50 +0300 Subject: [PATCH] Added alias for using Postman's Newman using Docker. --- .bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.bashrc b/.bashrc index 5b3db49..2dc863e 100644 --- a/.bashrc +++ b/.bashrc @@ -90,6 +90,7 @@ alias sudo="sudo " alias presentation='docker dev adarnimrod/presentation' alias prune_prerun='find "$HOME" -maxdepth 1 -name ".prerun\.[0-9]*" | grep -v "$(pgrep -u "$(id -u)" "$(basename "$SHELL" )" )" | xargs -r 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' +alias newman='docker run --rm -u "$(id -u):$(id -g)" -v "$PWD:/etc/newman" -t postman/newman_alpine33' alias jt='json_tool' alias http-server='python3 -m http.server 8080' alias dd='monitor dd status=progress' -- GitLab