Skip to content

Instantly share code, notes, and snippets.

@Pablohn26
Created September 2, 2016 13:43
Show Gist options
  • Save Pablohn26/90e8d39fac8eec616ff04ec8d86805af to your computer and use it in GitHub Desktop.
Save Pablohn26/90e8d39fac8eec616ff04ec8d86805af to your computer and use it in GitHub Desktop.
0 pablo:4@~$ sudo curl --unix-socket /var/run/docker.sock http:/info
[sudo] password for pablo:
{"ID":"TJFZ:2LQG:IURD:HYQM:PIJQ:2HJA:KWX6:WEBU:YPRQ:6KJX:OI6R:WPLS","Containers":14,"ContainersRunning":0,"ContainersPaused":0,"ContainersStopped":14,"Images":32,"Driver":"devicemapper","DriverStatus":[["Pool Name","docker-253:0-409604-pool"],["Pool Blocksize","65.54 kB"],["Base Device Size","10.74 GB"],["Backing Filesystem","ext4"],["Data file","/dev/loop0"],["Metadata file","/dev/loop1"],["Data Space Used","8.064 GB"],["Data Space Total","107.4 GB"],["Data Space Available","3.673 GB"],["Metadata Space Used","8.294 MB"],["Metadata Space Total","2.147 GB"],["Metadata Space Available","2.139 GB"],["Udev Sync Supported","true"],["Deferred Removal Enabled","false"],["Deferred Deletion Enabled","false"],["Deferred Deleted Device Count","0"],["Data loop file","/var/lib/docker/devicemapper/devicemapper/data"],["Metadata loop file","/var/lib/docker/devicemapper/devicemapper/metadata"],["Library Version","1.02.122 (2016-04-09)"]],"SystemStatus":null,"Plugins":{"Volume":["local"],"Network":["bridge","null","host"],"Authorization":null},"MemoryLimit":true,"SwapLimit":true,"CpuCfsPeriod":true,"CpuCfsQuota":true,"CPUShares":true,"CPUSet":true,"IPv4Forwarding":true,"BridgeNfIptables":true,"BridgeNfIp6tables":true,"Debug":false,"NFd":14,"OomKillDisable":true,"NGoroutines":24,"SystemTime":"2016-09-02T15:42:49.910293932+02:00","ExecutionDriver":"native-0.2","LoggingDriver":"journald","NEventsListener":0,"KernelVersion":"4.6.7-300.fc24.x86_64","PkgVersion":"docker-1.10.3-26.git1ecb834.fc24.x86_64","OperatingSystem":"Fedora 24 (Twenty Four)","OSType":"linux","Architecture":"x86_64","IndexServerAddress":"https://index.docker.io/v1/","IndexServerName":"docker.io","RegistryConfig":{"InsecureRegistryCIDRs":["127.0.0.0/8"],"IndexConfigs":{"docker.io":{"Name":"docker.io","Mirrors":null,"Secure":true,"Official":true}},"Mirrors":null},"InitSha1":"24c85026324c58d1eb2a852f55a7ba4287ad2a8a","InitPath":"","NCPU":8,"MemTotal":12516327424,"DockerRootDir":"/var/lib/docker","HttpProxy":"","HttpsProxy":"","NoProxy":"","Name":"localhost.localdomain","Labels":null,"ExperimentalBuild":false,"ServerVersion":"1.10.3","ClusterStore":"","ClusterAdvertise":"","Registries":[{"Name":"docker.io","Secure":true}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment