\
\
"call docker api using curl on local socket"
alias curl="docker run --rm -v /var/run/docker.sock:/var/run/docker.sock jsecchiero/curl curl"
curl --unix-socket /var/run/docker.sock http://localhost/containers/json
[me@blog]$
_