# docker inspect $PG_CONTAINER [root@localhost imposm]# docker inspect osm-postgis [ { "Id": "bca5514612cddc7f283569040802ed209df8668ffc087e4b16e4fb037a843536", "Created": "2021-07-28T08:07:04.465660835Z", "Path": "/bin/sh", "Args": [ "-c", "/scripts/docker-entrypoint.sh" ], "State": { "Status": "running", "Running": true, "Paused": false, "Restarting": false, "OOMKilled": false, "Dead": false, "Pid": 26330, "ExitCode": 0, "Error": "", "StartedAt": "2021-07-28T08:07:05.274961443Z", "FinishedAt": "0001-01-01T00:00:00Z" }, "Image": "sha256:b69c2d293cebedb7abc62266d33d24dc1590218565d6c98e73ca32ac306ee58a", "ResolvConfPath": "/var/lib/docker/containers/bca5514612cddc7f283569040802ed209df8668ffc087e4b16e4fb037a843536/resolv.conf", "HostnamePath": "/var/lib/docker/containers/bca5514612cddc7f283569040802ed209df8668ffc087e4b16e4fb037a843536/hostname", "HostsPath": "/var/lib/docker/containers/bca5514612cddc7f283569040802ed209df8668ffc087e4b16e4fb037a843536/hosts", "LogPath": "", "Name": "/osm-postgis", "RestartCount": 0, "Driver": "overlay2", "MountLabel": "system_u:object_r:svirt_sandbox_file_t:s0:c253,c794", "ProcessLabel": "system_u:system_r:svirt_lxc_net_t:s0:c253,c794", "AppArmorProfile": "", "ExecIDs": null, "HostConfig": { "Binds": [ "/opt/osm-styles/imposm/work:/tmp/work" ], "ContainerIDFile": "", "LogConfig": { "Type": "journald", "Config": {} }, "NetworkMode": "default", "PortBindings": { "5432/tcp": [ { "HostIp": "", "HostPort": "25432" } ] }, "RestartPolicy": { "Name": "no", "MaximumRetryCount": 0 }, "AutoRemove": false, "VolumeDriver": "", "VolumesFrom": null, "CapAdd": null, "CapDrop": null, "Dns": [], "DnsOptions": [], "DnsSearch": [], "ExtraHosts": null, "GroupAdd": null, "IpcMode": "", "Cgroup": "", "Links": null, "OomScoreAdj": 0, "PidMode": "", "Privileged": false, "PublishAllPorts": false, "ReadonlyRootfs": false, "SecurityOpt": null, "UTSMode": "", "UsernsMode": "", "ShmSize": 67108864, "Runtime": "docker-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": [], "DiskQuota": 0, "KernelMemory": 0, "MemoryReservation": 0, "MemorySwap": 0, "MemorySwappiness": -1, "OomKillDisable": false, "PidsLimit": 0, "Ulimits": null, "CpuCount": 0, "CpuPercent": 0, "IOMaximumIOps": 0, "IOMaximumBandwidth": 0 }, "GraphDriver": { "Name": "overlay2", "Data": { "LowerDir": "/var/lib/docker/overlay2/0d0ef4d61563457b93e068c4c712092a93203b41e8274fe8c47dad1840215fcf-init/diff:/var/lib/docker/overlay2/ab9e67fd5179c2a3fa2b09dc3ecb517778cac27fb999d403861977c5d4134966/diff:/var/lib/docker/overlay2/44ed483392a29e20dba4acecb2a472253e75f239536b0bdf050a035b5b02e79f/diff:/var/lib/docker/overlay2/37501a0ef05b78038b032f06e4e49ff668572d7a5fcf55810563ddbf6bb67d25/diff:/var/lib/docker/overlay2/f75a5826452e6bd1e4fddc19b582157bf7d90d4e6915fcbcafbf675a9d5c3d22/diff:/var/lib/docker/overlay2/ee7f970d8650a94902e6f05889d37313044d91d286d585e6950a0f39a61feae4/diff:/var/lib/docker/overlay2/8281c1157bf80dc50218038e5975eb77bf7785b2572e0a3913d65549e18d52c8/diff:/var/lib/docker/overlay2/da57aa9ca529ae992e48ad5d347c575833a38b78648b73e780eb893aa074cb60/diff:/var/lib/docker/overlay2/b1847f82e24a0356ba19e53a123da407e90738676948ae9c29c4bf04ff598e4a/diff:/var/lib/docker/overlay2/2f9cb33f2c8da7ac7d15240670c16b4cd3eee919ea405568f64f0a3a7fbae1bf/diff:/var/lib/docker/overlay2/b3e0992f6335287c37e85b88072c60e172703839235cf6d25b4eb9ce515dc6b1/diff:/var/lib/docker/overlay2/9c5d802ef29ee0e8f89edc58d7f4ff9651ce715c29cc77859088d0619e37c857/diff:/var/lib/docker/overlay2/dc98283edecf08790f3028434369b58211b154917d23d274f4933d2acb778e81/diff:/var/lib/docker/overlay2/195f64452301271269eba163abd44b0211af2034764cb9adc65f045719091b83/diff:/var/lib/docker/overlay2/d82621a2d62c83bb19c815fd638e4eb064ac964d2dbd34a5c24b7b4c72d49e18/diff:/var/lib/docker/overlay2/39d5510058d5efa7c416c103def5f9e38b036594d1e68eb7d173712b2c599bbb/diff", "MergedDir": "/var/lib/docker/overlay2/0d0ef4d61563457b93e068c4c712092a93203b41e8274fe8c47dad1840215fcf/merged", "UpperDir": "/var/lib/docker/overlay2/0d0ef4d61563457b93e068c4c712092a93203b41e8274fe8c47dad1840215fcf/diff", "WorkDir": "/var/lib/docker/overlay2/0d0ef4d61563457b93e068c4c712092a93203b41e8274fe8c47dad1840215fcf/work" } }, "Mounts": [ { "Type": "bind", "Source": "/opt/osm-styles/imposm/work", "Destination": "/tmp/work", "Mode": "", "RW": true, "Propagation": "rprivate" }, { "Type": "volume", "Name": "bba5ba8cb64bec4ae5b65a7b404039180a8e90740ea0b768c19e26e5682d4a57", "Source": "/var/lib/docker/volumes/bba5ba8cb64bec4ae5b65a7b404039180a8e90740ea0b768c19e26e5682d4a57/_data", "Destination": "/var/lib/postgresql", "Driver": "local", "Mode": "", "RW": true, "Propagation": "" } ], "Config": { "Hostname": "bca5514612cd", "Domainname": "", "User": "", "AttachStdin": false, "AttachStdout": false, "AttachStderr": false, "ExposedPorts": { "5432/tcp": {} }, "Tty": true, "OpenStdin": false, "StdinOnce": false, "Env": [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "LANG=en_US.UTF-8", "LANGUAGE=en_US:en", "LC_ALL=en_US.UTF-8" ], "Cmd": null, "Image": "kartoza/postgis:12.1", "Volumes": { "/var/lib/postgresql": {} }, "WorkingDir": "/scripts", "Entrypoint": [ "/bin/sh", "-c", "/scripts/docker-entrypoint.sh" ], "OnBuild": null, "Labels": {} }, "NetworkSettings": { "Bridge": "", "SandboxID": "badf25c45e4f8fcb4af25b4760b80807809622f65d1c6fb189f55113411f75b5", "HairpinMode": false, "LinkLocalIPv6Address": "", "LinkLocalIPv6PrefixLen": 0, "Ports": { "5432/tcp": [ { "HostIp": "0.0.0.0", "HostPort": "25432" } ] }, "SandboxKey": "/var/run/docker/netns/badf25c45e4f", "SecondaryIPAddresses": null, "SecondaryIPv6Addresses": null, "EndpointID": "9558e5bba1ab303f704c4c774e5fdc9ccc6d7f746323a3b5b649110806c43ecd", "Gateway": "172.17.0.1", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "IPAddress": "172.17.0.2", "IPPrefixLen": 16, "IPv6Gateway": "", "MacAddress": "02:42:ac:11:00:02", "Networks": { "bridge": { "IPAMConfig": null, "Links": null, "Aliases": null, "NetworkID": "8e0fadf40faaeeaed51ca0d84e3dbc312c676f3b1d32acdad1031c7919fa1f80", "EndpointID": "9558e5bba1ab303f704c4c774e5fdc9ccc6d7f746323a3b5b649110806c43ecd", "Gateway": "172.17.0.1", "IPAddress": "172.17.0.2", "IPPrefixLen": 16, "IPv6Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "MacAddress": "02:42:ac:11:00:02" } } } } ]