Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to get Docker daemon REST API calls?

Tags:

docker

macos

I'm looking for a way to see the contents of the requests the Docker CLI makes to the Docker Daemon for image creation, container creation etc. Is this possible to see, and if so, how?


1 Answers

You can run the docker daemon with debugging enabled which will show the URL being requested, but not the contents of the request. In /etc/docker/daemon.json, you can configure debugging with:

{ "debug": true }

Then restart the service. On systemd based systems, you can see the logs with journalctl -u docker.

like image 152
BMitch Avatar answered Nov 10 '25 10:11

BMitch



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!