Skip to content

Instantly share code, notes, and snippets.

@krivochenko
Last active November 4, 2018 20:17
Show Gist options
  • Save krivochenko/f9a49e735d6f94a9ecb967d0613dbe1e to your computer and use it in GitHub Desktop.
Save krivochenko/f9a49e735d6f94a9ecb967d0613dbe1e to your computer and use it in GitHub Desktop.
docker inspect gitlab_dind_1
[
{
"Id": "947afb7ac73cb1a770f6c27d063ddee37e00754952a44c89d2ff3dc0d24f0d95",
"Created": "2018-11-04T20:11:27.454227204Z",
"Path": "dockerd-entrypoint.sh",
"Args": [
"--storage-driver=overlay2"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 28839,
"ExitCode": 0,
"Error": "",
"StartedAt": "2018-11-04T20:11:27.678527174Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "sha256:acfec978837639b4230111b35a775a67ccbc2b08b442c1ae2cca4e95c3e6d08a",
"ResolvConfPath": "/var/lib/docker/containers/947afb7ac73cb1a770f6c27d063ddee37e00754952a44c89d2ff3dc0d24f0d95/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/947afb7ac73cb1a770f6c27d063ddee37e00754952a44c89d2ff3dc0d24f0d95/hostname",
"HostsPath": "/var/lib/docker/containers/947afb7ac73cb1a770f6c27d063ddee37e00754952a44c89d2ff3dc0d24f0d95/hosts",
"LogPath": "/var/lib/docker/containers/947afb7ac73cb1a770f6c27d063ddee37e00754952a44c89d2ff3dc0d24f0d95/947afb7ac73cb1a770f6c27d063ddee37e00754952a44c89d2ff3dc0d24f0d95-json.log",
"Name": "/gitlab_dind_1",
"RestartCount": 0,
"Driver": "overlay2",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"406935b480ce0aebd886691325e305ed4d9dc5a1aa73a9b7b200598f08a57f6d:/var/lib/docker:rw"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "gitlab_default",
"PortBindings": {},
"RestartPolicy": {
"Name": "always",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": [],
"CapAdd": null,
"CapDrop": null,
"Dns": null,
"DnsOptions": null,
"DnsSearch": null,
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "shareable",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": true,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": [
"label=disable"
],
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"ConsoleSize": [
0,
0
],
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": null,
"DeviceCgroupRules": null,
"DiskQuota": 0,
"KernelMemory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": false,
"PidsLimit": 0,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"MaskedPaths": null,
"ReadonlyPaths": null
},
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/b9c1f3582f94e3cb0bd4176639294f3885be08cf20b6bbca9e547832dfab1743-init/diff:/var/lib/docker/overlay2/9794ab58dcb322c49685046045cea75c3b80db126fd9aebb7ac7e580bcf9fbaa/diff:/var/lib/docker/overlay2/3736ee0c96c3d6569916ffa857b134cd0b53e14401bda19a6c9aeb4728ca24f9/diff:/var/lib/docker/overlay2/f4c51ecf6f32549802f4aa32a60ddb8181dea75736453757eeeca55c250c0be4/diff:/var/lib/docker/overlay2/3499221bac3c09c22bc6fbd63b3b01fbb6d3d0dd4a94feb68400a67e2afc4994/diff:/var/lib/docker/overlay2/f5eebb5c422253bc597d73a7b5ab7db667baa2379cb8dd7f163408cae173fc89/diff:/var/lib/docker/overlay2/a050f07e565d771c7c7e467656c1f2fbeedead38b0b12bafe76a3f0bacf1295b/diff:/var/lib/docker/overlay2/cafa0b691d09aace163c97562d89fa33fd915be4491ea4741628fbf70789a81a/diff:/var/lib/docker/overlay2/b73c023a035a2f30373fc1431755dded84f9cce21b8cc9803afa51fb65cee1cf/diff:/var/lib/docker/overlay2/5fc684731cb4ab54ad9a030e28f0b0a4bf7c1c48f68cd2e384bc74078d4255c3/diff:/var/lib/docker/overlay2/6213cb88bad2f0b9641077fb41002e5df592fb6dfe85da76ab2a992e37778b86/diff",
"MergedDir": "/var/lib/docker/overlay2/b9c1f3582f94e3cb0bd4176639294f3885be08cf20b6bbca9e547832dfab1743/merged",
"UpperDir": "/var/lib/docker/overlay2/b9c1f3582f94e3cb0bd4176639294f3885be08cf20b6bbca9e547832dfab1743/diff",
"WorkDir": "/var/lib/docker/overlay2/b9c1f3582f94e3cb0bd4176639294f3885be08cf20b6bbca9e547832dfab1743/work"
},
"Name": "overlay2"
},
"Mounts": [
{
"Type": "volume",
"Name": "406935b480ce0aebd886691325e305ed4d9dc5a1aa73a9b7b200598f08a57f6d",
"Source": "/var/lib/docker/volumes/406935b480ce0aebd886691325e305ed4d9dc5a1aa73a9b7b200598f08a57f6d/_data",
"Destination": "/var/lib/docker",
"Driver": "local",
"Mode": "rw",
"RW": true,
"Propagation": ""
}
],
"Config": {
"Hostname": "947afb7ac73c",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"2375/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"affinity:container==18cd5515eb5f67f4b9107ab46ba125149fe3efe0a5be48709230850c5c377e48",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"DOCKER_CHANNEL=stable",
"DOCKER_VERSION=18.06.1-ce",
"DIND_COMMIT=52379fa76dee07ca038624d639d9e14f4fb719ff"
],
"Cmd": [
"--storage-driver=overlay2"
],
"Image": "docker:dind",
"Volumes": {
"/var/lib/docker": {}
},
"WorkingDir": "",
"Entrypoint": [
"dockerd-entrypoint.sh"
],
"OnBuild": null,
"Labels": {
"com.docker.compose.config-hash": "79fc9225a63dca1bec6fc4ab76c9be22253ba42c301436e1234e7947bf79970f",
"com.docker.compose.container-number": "1",
"com.docker.compose.oneoff": "False",
"com.docker.compose.project": "gitlab",
"com.docker.compose.service": "dind",
"com.docker.compose.version": "1.21.2"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "275c28df5c1ac9ed9fbdaefb05864631d4e1e1236c0fb1df9e961f2131ed8142",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"2375/tcp": null
},
"SandboxKey": "/var/run/docker/netns/275c28df5c1a",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"gitlab_default": {
"IPAMConfig": null,
"Links": null,
"Aliases": [
"dind",
"947afb7ac73c"
],
"NetworkID": "0cd8d8feff26f80140a10ec1257e4881734090b0595821534fb84c2cef4589d6",
"EndpointID": "092ec2100b73a891afb96c7eca1b083faf805af096a082e06bb51a5f7308688c",
"Gateway": "172.18.0.1",
"IPAddress": "172.18.0.5",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:12:00:05",
"DriverOpts": null
}
}
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment