Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~ docker inspect e245
- [
- {
- "Id": "e245f85bada15fe687d4610b5b3e6de909a55ee6eb0d48e4e6e430bdf603ccbf",
- "Created": "2019-03-15T15:59:44.872167184Z",
- "Path": "docker-entrypoint.sh",
- "Args": [
- "-c",
- "max_connections=500"
- ],
- "State": {
- "Status": "running",
- "Running": true,
- "Paused": false,
- "Restarting": false,
- "OOMKilled": false,
- "Dead": false,
- "Pid": 19510,
- "ExitCode": 0,
- "Error": "",
- "StartedAt": "2019-03-15T15:59:47.09088044Z",
- "FinishedAt": "0001-01-01T00:00:00Z"
- },
- "Image": "sha256:9ca7fdaec623e22d4613a316367217be684745d5f7aca5fa6b2d14ebafe4e109",
- "ResolvConfPath": "/var/lib/docker/containers/e245f85bada15fe687d4610b5b3e6de909a55ee6eb0d48e4e6e430bdf603ccbf/resolv.conf",
- "HostnamePath": "/var/lib/docker/containers/e245f85bada15fe687d4610b5b3e6de909a55ee6eb0d48e4e6e430bdf603ccbf/hostname",
- "HostsPath": "/var/lib/docker/containers/e245f85bada15fe687d4610b5b3e6de909a55ee6eb0d48e4e6e430bdf603ccbf/hosts",
- "LogPath": "/var/lib/docker/containers/e245f85bada15fe687d4610b5b3e6de909a55ee6eb0d48e4e6e430bdf603ccbf/e245f85bada15fe687d4610b5b3e6de909a55ee6eb0d48e4e6e430bdf603ccbf-json.log",
- "Name": "/dev_psql-master_1",
- "RestartCount": 0,
- "Driver": "overlay2",
- "Platform": "linux",
- "MountLabel": "",
- "ProcessLabel": "",
- "AppArmorProfile": "docker-default",
- "ExecIDs": null,
- "HostConfig": {
- "Binds": [
- "/media/me/myfiles/data/coupon-processing-psql-master/data1:/var/lib/postgresql/data:rw"
- ],
- "ContainerIDFile": "",
- "LogConfig": {
- "Type": "json-file",
- "Config": {
- "max-file": "10",
- "max-size": "10m"
- }
- },
- "NetworkMode": "dev_default",
- "PortBindings": {
- "5432/tcp": [
- {
- "HostIp": "",
- "HostPort": "5532"
- }
- ]
- },
- "RestartPolicy": {
- "Name": "",
- "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": 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": 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": [
- "/proc/asound",
- "/proc/acpi",
- "/proc/kcore",
- "/proc/keys",
- "/proc/latency_stats",
- "/proc/timer_list",
- "/proc/timer_stats",
- "/proc/sched_debug",
- "/proc/scsi",
- "/sys/firmware"
- ],
- "ReadonlyPaths": [
- "/proc/bus",
- "/proc/fs",
- "/proc/irq",
- "/proc/sys",
- "/proc/sysrq-trigger"
- ]
- },
- "GraphDriver": {
- "Data": {
- "LowerDir": "/var/lib/docker/overlay2/cb61c465cf8ffa85208833813007c25f2d0e268d94723f0fadf755ad08652193-init/diff:/var/lib/docker/overlay2/259d4641a591e5ea4a8f565611feffef2b4c81982c2a862b555c7fe0ec0daac3/diff:/var/lib/docker/overlay2/621c55672e7d9647d330de23ecf55d5b20cb393f328ee8563cbac7909a467777/diff:/var/lib/docker/overlay2/03737ed015169d4044ca720d5ac104b3674fd53e46bfa73a047c0d0d9c958ec9/diff:/var/lib/docker/overlay2/aeb469ed03b487cbc9395bb72fed98306d07fa78436314a648ee79522d83bd1e/diff:/var/lib/docker/overlay2/d63c4ea9ff1524c758763ae1bbb59a6a68e513989d470fdb636c59b95abd3887/diff:/var/lib/docker/overlay2/0d92a2aeac9b5f578b3bef8d2e3f977a95565b2387ca34e095ed87b724e9628d/diff:/var/lib/docker/overlay2/28ebcb64703a58d2cbc11b3e5dab7c9390f9c43f8d4560f5136edb4cc7fc8258/diff:/var/lib/docker/overlay2/e3ac188608d1a8e37afcae2ea35a37f7bf17e12ff008a7f1a93bbf535fe425df/diff:/var/lib/docker/overlay2/d5d8c44b9c0bbfe6f95dbc1873aefc1a9897e5fbaf208e0b30e7a7e5f37da919/diff",
- "MergedDir": "/var/lib/docker/overlay2/cb61c465cf8ffa85208833813007c25f2d0e268d94723f0fadf755ad08652193/merged",
- "UpperDir": "/var/lib/docker/overlay2/cb61c465cf8ffa85208833813007c25f2d0e268d94723f0fadf755ad08652193/diff",
- "WorkDir": "/var/lib/docker/overlay2/cb61c465cf8ffa85208833813007c25f2d0e268d94723f0fadf755ad08652193/work"
- },
- "Name": "overlay2"
- },
- "Mounts": [
- {
- "Type": "bind",
- "Source": "/media/me/myfiles/data/coupon-processing-psql-master/data1",
- "Destination": "/var/lib/postgresql/data",
- "Mode": "rw",
- "RW": true,
- "Propagation": "rprivate"
- }
- ],
- "Config": {
- "Hostname": "e245f85bada1",
- "Domainname": "",
- "User": "",
- "AttachStdin": false,
- "AttachStdout": false,
- "AttachStderr": false,
- "ExposedPorts": {
- "5432/tcp": {}
- },
- "Tty": false,
- "OpenStdin": false,
- "StdinOnce": false,
- "Env": [
- "PATRONI_NAME=psql-master",
- "POSTGRES_USER=postgres",
- "PATRONI_CONSUL_HOST=consul:9988",
- "PATRONI_RESTAPI_CONNECT_ADDRESS=psql-master:8008",
- "POSTGRES_PASSWORD=postgres",
- "POSTGRES_DB=coupons",
- "PATRONI_POSTGRESQL_CONNECT_ADDRESS=psql-master:5432",
- "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
- "LANG=en_US.utf8",
- "PG_MAJOR=11",
- "PG_VERSION=11.2",
- "PG_SHA256=2676b9ce09c21978032070b6794696e0aa5a476e3d21d60afc036dc0a9c09405",
- "PGDATA=/var/lib/postgresql/data"
- ],
- "Cmd": [
- "-c",
- "max_connections=500"
- ],
- "Image": "postgres:11-alpine",
- "Volumes": {
- "/var/lib/postgresql/data": {}
- },
- "WorkingDir": "",
- "Entrypoint": [
- "docker-entrypoint.sh"
- ],
- "OnBuild": null,
- "Labels": {
- "com.docker.compose.config-hash": "5f9a6598f72937dd134ab5fb4f99e5b0c0ad580aaa946ce2dcdc74262741caeb",
- "com.docker.compose.container-number": "1",
- "com.docker.compose.oneoff": "False",
- "com.docker.compose.project": "dev",
- "com.docker.compose.service": "psql-master",
- "com.docker.compose.version": "1.17.1"
- }
- },
- "NetworkSettings": {
- "Bridge": "",
- "SandboxID": "c6b8d143751d582ccd72a63e2dbf85b29742e1a496c1d077db4e1792e798c310",
- "HairpinMode": false,
- "LinkLocalIPv6Address": "",
- "LinkLocalIPv6PrefixLen": 0,
- "Ports": {
- "5432/tcp": [
- {
- "HostIp": "0.0.0.0",
- "HostPort": "5532"
- }
- ]
- },
- "SandboxKey": "/var/run/docker/netns/c6b8d143751d",
- "SecondaryIPAddresses": null,
- "SecondaryIPv6Addresses": null,
- "EndpointID": "",
- "Gateway": "",
- "GlobalIPv6Address": "",
- "GlobalIPv6PrefixLen": 0,
- "IPAddress": "",
- "IPPrefixLen": 0,
- "IPv6Gateway": "",
- "MacAddress": "",
- "Networks": {
- "dev_default": {
- "IPAMConfig": null,
- "Links": null,
- "Aliases": [
- "psql-master",
- "e245f85bada1"
- ],
- "NetworkID": "a2d8997206753ba3f07ace9681e33196b01b5d9a53efe0713617c800bc8bc1cd",
- "EndpointID": "bcc9624cd21b1e2d69d40f9c3ca4febbe527ffbd57d0443d57ba97bd7ed18ecf",
- "Gateway": "192.168.112.1",
- "IPAddress": "192.168.112.4",
- "IPPrefixLen": 20,
- "IPv6Gateway": "",
- "GlobalIPv6Address": "",
- "GlobalIPv6PrefixLen": 0,
- "MacAddress": "02:42:c0:a8:70:04",
- "DriverOpts": null
- }
- }
- }
- }
- ]
- ➜ ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement