Last active
October 23, 2020 14:34
-
-
Save chasebolt/3e58bc05203a6fcf5d71 to your computer and use it in GitHub Desktop.
copy and paste this one-liner into a terminal of the docker host you want to debug. this will dump all the cli api calls between the client and docker host. requires root and the app socat.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mv /var/run/docker.sock /var/run/docker.sock.orig \ | |
&& socat -v UNIX-LISTEN:/var/run/docker.sock,group=docker,perm=0660,reuseaddr,fork UNIX-CONNECT:/var/run/docker.sock.orig; \ | |
mv /var/run/docker.sock.orig /var/run/docker.sock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment