Quantcast
Channel: sleeplessbeastie's notes
Viewing all articles
Browse latest Browse all 770

How to query Docker socket using curl

$
0
0
Query Docker socket using curl. Display Docker version. $ curl --silent -XGET --unix-socket /run/docker.sock http://localhost/version | jq . { "Platform": { "Name": "Docker Engine - Community" }, "Components": [ { "Name": "Engine", "Version": "20.10.7", "Details": { "ApiVersion": "1.41", "Arch": "amd64", "BuildTime": "2021-06-02T11:55:12.000000000+00:00", "Experimental": "false", "GitCommit": "b0f5bc3", "GoVersion": "go1.13.15", "KernelVersion": "5.10.0-7-amd64", "MinAPIVersion": "1.12", "Os": "linux" } […]

Viewing all articles
Browse latest Browse all 770

Trending Articles