Created
January 15, 2019 19:45
-
-
Save kbuilds/578b9f625e8fe70f3c17689e5dc6de20 to your computer and use it in GitHub Desktop.
This file contains 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
$ sudo docker inspect 85818d0c36fd10d446fe3a6b9dcf9c818efe307e511388c7e4d334322a53aeff [178/479] | |
[ | |
{ | |
"Id": "85818d0c36fd10d446fe3a6b9dcf9c818efe307e511388c7e4d334322a53aeff", | |
"Created": "2019-01-15T19:35:05.682513148Z", | |
"Path": "docker-entrypoint.sh", | |
"Args": [ | |
"postgres" | |
], | |
"State": { | |
"Status": "running", | |
"Running": true, | |
"Paused": false, | |
"Restarting": false, | |
"OOMKilled": false, | |
"Dead": false, | |
"Pid": 9138, | |
"ExitCode": 0, | |
"Error": "", | |
"StartedAt": "2019-01-15T19:35:13.012233676Z", | |
"FinishedAt": "2019-01-15T19:35:10.146125038Z" | |
}, | |
"Image": "sha256:978b82dc00dcbc7751b31e93f5c0f5686e2d01f1fe2996fe58f67d8ba3fcd473", | |
"ResolvConfPath": "/var/lib/docker/containers/85818d0c36fd10d446fe3a6b9dcf9c818efe307e511388c7e4d334322a53aeff/resolv.conf", | |
"HostnamePath": "/var/lib/docker/containers/85818d0c36fd10d446fe3a6b9dcf9c818efe307e511388c7e4d334322a53aeff/hostname", | |
"HostsPath": "/var/lib/docker/containers/85818d0c36fd10d446fe3a6b9dcf9c818efe307e511388c7e4d334322a53aeff/hosts", | |
"LogPath": "/var/lib/docker/containers/85818d0c36fd10d446fe3a6b9dcf9c818efe307e511388c7e4d334322a53aeff/85818d0c36fd10d446fe3a6b9dcf9c818efe307e511388c7e4d334322a53aeff-json.log", | |
"Name": "/dokku.postgres.test_db", | |
"RestartCount": 0, | |
"Driver": "overlay2", | |
"Platform": "linux", | |
"MountLabel": "", | |
"ProcessLabel": "", | |
"AppArmorProfile": "docker-default", | |
"ExecIDs": null, | |
"HostConfig": { | |
"Binds": [ | |
"/var/lib/dokku/services/postgres/test_db/data:/var/lib/postgresql/data" | |
], | |
"ContainerIDFile": "", | |
"LogConfig": { | |
"Type": "json-file", | |
"Config": {} | |
}, | |
"NetworkMode": "default", | |
"PortBindings": {}, | |
"RestartPolicy": { | |
"Name": "always", | |
"MaximumRetryCount": 0 | |
}, | |
"AutoRemove": false, | |
"VolumeDriver": "", | |
"VolumesFrom": null, | |
"CapAdd": null, | |
"CapDrop": null, | |
"Dns": [], | |
"DnsOptions": [], | |
"DnsSearch": [], | |
"ExtraHosts": null, | |
"GroupAdd": null, | |
"IpcMode": "shareable", | |
"Cgroup": "", | |
"Links": null, | |
"OomScoreAdj": 0, | |
"PidMode": "", | |
"Privileged": false, | |
"PublishAllPorts": false, | |
"ReadonlyRootfs": false, | |
"SecurityOpt": null, | |
"UTSMode": "", | |
"UsernsMode": "", | |
"ShmSize": 67108864, | |
"Runtime": "runc", | |
"ConsoleSize": [ | |
0, | |
0 | |
], | |
"Isolation": "", | |
"CpuShares": 0, | |
"Memory": 0, | |
"NanoCpus": 0, | |
"CgroupParent": "", | |
"BlkioWeight": 0, | |
"BlkioWeightDevice": [], | |
"BlkioDeviceReadBps": null, | |
"BlkioDeviceWriteBps": null, | |
"BlkioDeviceReadIOps": null, | |
"BlkioDeviceWriteIOps": null, | |
"CpuPeriod": 0, | |
"CpuQuota": 0, | |
"CpuRealtimePeriod": 0, | |
"CpuRealtimeRuntime": 0, | |
"CpusetCpus": "", | |
"CpusetMems": "", | |
"Devices": [], | |
"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": [ | |
"/proc/acpi", | |
"/proc/kcore", | |
"/proc/keys", | |
"/proc/latency_stats", | |
"/proc/timer_list", | |
"/proc/timer_stats", | |
"/proc/sched_debug", | |
"/proc/scsi", | |
"/sys/firmware" | |
], | |
"ReadonlyPaths": [ | |
"/proc/asound", | |
"/proc/bus", | |
"/proc/fs", | |
"/proc/irq", | |
"/proc/sys", | |
"/proc/sysrq-trigger" | |
] | |
}, | |
"GraphDriver": { | |
"Data": { | |
"LowerDir": "/var/lib/docker/overlay2/0ea87f9a32ee278f3a1e2c3bbe9ccfdf424b52bc40f53de3aaca4f3defd7996f-init/diff:/var/lib/docker/overlay2/dda33db82ca114c8fc49f454c7e92e14694b411010875135e0be9b358 | |
31f6e9b/diff:/var/lib/docker/overlay2/ab9b399b86ef3b1b19f94d13fe1e29d91a608ffd38fd6fb5fc5dbcd8e98c813b/diff:/var/lib/docker/overlay2/e122a5f0f8e0ced2726150e294d65ec80cd59c806870209b5b0bef3a8078f471/diff:/var/lib | |
/docker/overlay2/7049d20818e37f8667d86a81ae618fb8919d4fa33c105c77f877c3303aac5e30/diff:/var/lib/docker/overlay2/ddc45b4ef0761df968ee0f109b4542d898c63c9600650cc21e5cc5850b5553ca/diff:/var/lib/docker/overlay2/87c9 | |
94c3c9adc350917d621481295b3ba90f4161d1e65594be73713378bd3bcd/diff:/var/lib/docker/overlay2/6b2ba1768afe26f565085064187d86084a33fde2fc784cacccddf2f40ddd5dda/diff:/var/lib/docker/overlay2/e55e09521db642a044e9acf3f | |
9f6f0532e4ffa39f9e6e4dd741e44833a9c77be/diff:/var/lib/docker/overlay2/23167bb7167f196e3bae1fcde5abb26fe8b5f34cedb5fae1875db38448caba26/diff:/var/lib/docker/overlay2/ceca08bd3a291d3de6afdce8ab9a3da87ff12b8dec3319 | |
3874a4c7110585a48b/diff:/var/lib/docker/overlay2/5c8b50bbcbaa05a0aeade55b9e587000f4c5f87a81a623ca9b4cd04dae89f48c/diff:/var/lib/docker/overlay2/86409d2aa76c268b4b57e3cbc07183515838200ca095f4cc70ee1ecbfb2016ef/di | |
ff:/var/lib/docker/overlay2/6af7924833ce17b2f8dca19a78a9c9c4d030c3c51486f1effd5bd9496d664e11/diff:/var/lib/docker/overlay2/c59dab9d3eb16ccaaca657fbe2d4f85d333926489a930a4e9dc45236d479ee3f/diff", | |
"MergedDir": "/var/lib/docker/overlay2/0ea87f9a32ee278f3a1e2c3bbe9ccfdf424b52bc40f53de3aaca4f3defd7996f/merged", | |
"UpperDir": "/var/lib/docker/overlay2/0ea87f9a32ee278f3a1e2c3bbe9ccfdf424b52bc40f53de3aaca4f3defd7996f/diff", | |
"WorkDir": "/var/lib/docker/overlay2/0ea87f9a32ee278f3a1e2c3bbe9ccfdf424b52bc40f53de3aaca4f3defd7996f/work" | |
}, | |
"Name": "overlay2" | |
}, | |
"Mounts": [ | |
{ | |
"Type": "bind", | |
"Source": "/var/lib/dokku/services/postgres/test_db/data", | |
"Destination": "/var/lib/postgresql/data", | |
"Mode": "", | |
"RW": true, | |
"Propagation": "rprivate" | |
} | |
], | |
"Config": { | |
"Hostname": "85818d0c36fd", | |
"Domainname": "", | |
"User": "", | |
"AttachStdin": false, | |
"AttachStdout": false, | |
"AttachStderr": false, | |
"ExposedPorts": { | |
"5432/tcp": {} | |
}, | |
"Tty": false, | |
"OpenStdin": false, | |
"StdinOnce": false, | |
"Env": [ | |
"POSTGRES_PASSWORD=15edae52781c6a5e95e6ac20a798eb8a", | |
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/10/bin", | |
"GOSU_VERSION=1.10", | |
"LANG=en_US.utf8", | |
"PG_MAJOR=10", | |
"PG_VERSION=10.4-2.pgdg90+1", | |
"PGDATA=/var/lib/postgresql/data" | |
], | |
"Cmd": [ | |
"postgres" | |
], | |
"ArgsEscaped": true, | |
"Image": "postgres:10.4", | |
"Volumes": { | |
"/var/lib/postgresql/data": {} | |
}, | |
"WorkingDir": "", | |
"Entrypoint": [ | |
"docker-entrypoint.sh" | |
], | |
"OnBuild": null, | |
"Labels": { | |
"dokku": "service", | |
"dokku.service": "postgres" | |
} | |
}, | |
"NetworkSettings": { | |
"Bridge": "", | |
"SandboxID": "75a2143e2164d7722460f6582a0451d8a7b4eb0e0bc8f7162e9736d04fe5cef0", | |
"HairpinMode": false, | |
"LinkLocalIPv6Address": "", | |
"LinkLocalIPv6PrefixLen": 0, | |
"Ports": { | |
"5432/tcp": null | |
}, | |
"SandboxKey": "/var/run/docker/netns/75a2143e2164", | |
"SecondaryIPAddresses": null, | |
"SecondaryIPv6Addresses": null, | |
"EndpointID": "467cc62d89b1451b4b46db0df0d50f29f4b9b63d228cd0cd2778aab49dc472c7", | |
"Gateway": "172.17.0.1", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"IPAddress": "172.17.0.4", | |
"IPPrefixLen": 16, | |
"IPv6Gateway": "", | |
"MacAddress": "02:42:ac:11:00:04", | |
"Networks": { | |
"bridge": { | |
"IPAMConfig": null, | |
"Links": null, | |
"Aliases": null, | |
"NetworkID": "6197fcd4d5eee15043cccbd193fde8ae5360fbf5c156983f1748e3b312f318d1", | |
"EndpointID": "467cc62d89b1451b4b46db0df0d50f29f4b9b63d228cd0cd2778aab49dc472c7", | |
"Gateway": "172.17.0.1", | |
"IPAddress": "172.17.0.4", | |
"IPPrefixLen": 16, | |
"IPv6Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"MacAddress": "02:42:ac:11:00:04", | |
"DriverOpts": null | |
} | |
} | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment