#Start docker daemon in debug mode(add -D)
$ /usr/bin/docker daemon -D -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock
#Run socat to make docker sock available via tcp port (note the IP to listen at)
$ socat -d -d TCP-LISTEN:8080,fork,bind=192.168.1.137 UNIX:/var/run/docker.sock
#Run pprof on your client:
$ go tool pprof http://192.168.1.137:8080/debug/pprof/profile
Fetching profile from http://192.168.1.137:8080/debug/pprof/profile
Please wait... (30s)
Saved profile in /home/xjimmy/pprof/pprof.192.168.1.137:8080.samples.cpu.001.pb.gz
Entering interactive mode (type "help" for commands)
(pprof) web
(pprof) web ploop
(pprof)