Last active
January 15, 2025 16:28
-
-
Save knbknb/cf9ec3bf74e6623c3455ee2417b09d69 to your computer and use it in GitHub Desktop.
Docker HTTP API
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
curl --unix-socket /run/docker.sock http://localhost/version | jq | |
curl --unix-socket /run/docker.sock http://localhost/images/json | jq -c "[.[] | [.RepoTags[0] , .Labels.maintainer]]" | perl -ple "s/,\[/\n[/g" | sort | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment