GTFOcurls
GitHub Repo stars

Docker

Communicate with docker through docker.sock or REST API

#Docker

#Query Unix Socket

curl  --unix-socket /var/run/docker.sock "http://localhost/containers/json"

#Get containers with given status

curl  --unix-socket /var/run/docker.sock "http://localhost/containers/json?filters=\{\"health\":\[\"unhealthy\"\]${labelFilter}\}"