Advertisement
Guest User

docker inspect api

a guest
May 29th, 2018
888
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 7.27 KB | None | 0 0
  1. [
  2.     {
  3.         "Id": "a3920208d52f1ed05e5dd14aee341f66c896fcdf2a0f7401c55b8980439c3542"
  4. ,
  5.         "Created": "2018-05-29T17:10:53.278185578Z",
  6.         "Path": "node",
  7.         "Args": [
  8.             "index.js"
  9.         ],
  10.         "State": {
  11.             "Status": "exited",
  12.             "Running": false,
  13.             "Paused": false,
  14.             "Restarting": false,
  15.             "OOMKilled": false,
  16.             "Dead": false,
  17.             "Pid": 0,
  18.             "ExitCode": 1,
  19.             "Error": "",
  20.             "StartedAt": "2018-05-29T17:10:56.193211904Z",
  21.             "FinishedAt": "2018-05-29T17:10:56.269414882Z"
  22.         },
  23.         "Image": "sha256:44c8cdd19621e390b96d0671beac649645f00acb487b0547b3344a8
  24. d02816470",
  25.         "ResolvConfPath": "/mnt/sda1/var/lib/docker/containers/a3920208d52f1ed05
  26. e5dd14aee341f66c896fcdf2a0f7401c55b8980439c3542/resolv.conf",
  27.         "HostnamePath": "/mnt/sda1/var/lib/docker/containers/a3920208d52f1ed05e5
  28. dd14aee341f66c896fcdf2a0f7401c55b8980439c3542/hostname",
  29.         "HostsPath": "/mnt/sda1/var/lib/docker/containers/a3920208d52f1ed05e5dd1
  30. 4aee341f66c896fcdf2a0f7401c55b8980439c3542/hosts",
  31.         "LogPath": "/mnt/sda1/var/lib/docker/containers/a3920208d52f1ed05e5dd14a
  32. ee341f66c896fcdf2a0f7401c55b8980439c3542/a3920208d52f1ed05e5dd14aee341f66c896fcd
  33. f2a0f7401c55b8980439c3542-json.log",
  34.         "Name": "/api",
  35.         "RestartCount": 0,
  36.         "Driver": "aufs",
  37.         "Platform": "linux",
  38.         "MountLabel": "",
  39.         "ProcessLabel": "",
  40.         "AppArmorProfile": "",
  41.         "ExecIDs": null,
  42.         "HostConfig": {
  43.             "Binds": [
  44.                 "/c/users/fede/documents/test/service:/home/node/api:rw"
  45.             ],
  46.             "ContainerIDFile": "",
  47.             "LogConfig": {
  48.                 "Type": "json-file",
  49.                 "Config": {}
  50.             },
  51.             "NetworkMode": "test_default",
  52.             "PortBindings": {
  53.                 "3000/tcp": [
  54.                     {
  55.                         "HostIp": "",
  56.                         "HostPort": "3000"
  57.                     }
  58.                 ]
  59.             },
  60.             "RestartPolicy": {
  61.                 "Name": "",
  62.                 "MaximumRetryCount": 0
  63.             },
  64.             "AutoRemove": false,
  65.             "VolumeDriver": "",
  66.             "VolumesFrom": [],
  67.             "CapAdd": null,
  68.             "CapDrop": null,
  69.             "Dns": null,
  70.             "DnsOptions": null,
  71.             "DnsSearch": null,
  72.             "ExtraHosts": null,
  73.             "GroupAdd": null,
  74.             "IpcMode": "shareable",
  75.             "Cgroup": "",
  76.             "Links": null,
  77.             "OomScoreAdj": 0,
  78.             "PidMode": "",
  79.             "Privileged": false,
  80.             "PublishAllPorts": false,
  81.             "ReadonlyRootfs": false,
  82.             "SecurityOpt": null,
  83.             "UTSMode": "",
  84.             "UsernsMode": "",
  85.             "ShmSize": 67108864,
  86.             "Runtime": "runc",
  87.             "ConsoleSize": [
  88.                 0,
  89.                 0
  90.             ],
  91.             "Isolation": "",
  92.             "CpuShares": 0,
  93.             "Memory": 0,
  94.             "NanoCpus": 0,
  95.             "CgroupParent": "",
  96.             "BlkioWeight": 0,
  97.             "BlkioWeightDevice": null,
  98.             "BlkioDeviceReadBps": null,
  99.             "BlkioDeviceWriteBps": null,
  100.             "BlkioDeviceReadIOps": null,
  101.             "BlkioDeviceWriteIOps": null,
  102.             "CpuPeriod": 0,
  103.             "CpuQuota": 0,
  104.             "CpuRealtimePeriod": 0,
  105.             "CpuRealtimeRuntime": 0,
  106.             "CpusetCpus": "",
  107.             "CpusetMems": "",
  108.             "Devices": null,
  109.             "DeviceCgroupRules": null,
  110.             "DiskQuota": 0,
  111.             "KernelMemory": 0,
  112.             "MemoryReservation": 0,
  113.             "MemorySwap": 0,
  114.             "MemorySwappiness": null,
  115.             "OomKillDisable": false,
  116.             "PidsLimit": 0,
  117.             "Ulimits": null,
  118.             "CpuCount": 0,
  119.             "CpuPercent": 0,
  120.             "IOMaximumIOps": 0,
  121.             "IOMaximumBandwidth": 0
  122.         },
  123.         "GraphDriver": {
  124.             "Data": null,
  125.             "Name": "aufs"
  126.         },
  127.         "Mounts": [
  128.             {
  129.                 "Type": "bind",
  130.                 "Source": "/c/users/fede/documents/test/service",
  131.                 "Destination": "/home/node/api",
  132.                 "Mode": "rw",
  133.                 "RW": true,
  134.                 "Propagation": "rprivate"
  135.             }
  136.         ],
  137.         "Config": {
  138.             "Hostname": "a3920208d52f",
  139.             "Domainname": "",
  140.             "User": "node",
  141.             "AttachStdin": false,
  142.             "AttachStdout": false,
  143.             "AttachStderr": false,
  144.             "ExposedPorts": {
  145.                 "3000/tcp": {}
  146.             },
  147.             "Tty": false,
  148.             "OpenStdin": false,
  149.             "StdinOnce": false,
  150.             "Env": [
  151.                 "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/b
  152. in",
  153.                 "NODE_VERSION=8.11.1",
  154.                 "YARN_VERSION=1.5.1"
  155.             ],
  156.             "Cmd": [
  157.                 "node",
  158.                 "index.js"
  159.             ],
  160.             "ArgsEscaped": true,
  161.             "Image": "test_api",
  162.             "Volumes": {
  163.                 "/home/node/api": {}
  164.             },
  165.             "WorkingDir": "/home/node/api",
  166.             "Entrypoint": null,
  167.             "OnBuild": null,
  168.             "Labels": {
  169.                 "com.docker.compose.config-hash": "1be109f7dd3cb94a3fb757a8da77b
  170. b8f2240c4ca1ad23209f1615d879707fed0",
  171.                 "com.docker.compose.container-number": "1",
  172.                 "com.docker.compose.oneoff": "False",
  173.                 "com.docker.compose.project": "test",
  174.                 "com.docker.compose.service": "api",
  175.                 "com.docker.compose.version": "1.20.1"
  176.             }
  177.         },
  178.         "NetworkSettings": {
  179.             "Bridge": "",
  180.             "SandboxID": "a36e9a6de9c28da73823e908c4457493b63da1299d665bf27e7f6b
  181. ff8833d6f8",
  182.             "HairpinMode": false,
  183.             "LinkLocalIPv6Address": "",
  184.             "LinkLocalIPv6PrefixLen": 0,
  185.             "Ports": {},
  186.             "SandboxKey": "/var/run/docker/netns/a36e9a6de9c2",
  187.             "SecondaryIPAddresses": null,
  188.             "SecondaryIPv6Addresses": null,
  189.             "EndpointID": "",
  190.             "Gateway": "",
  191.             "GlobalIPv6Address": "",
  192.             "GlobalIPv6PrefixLen": 0,
  193.             "IPAddress": "",
  194.             "IPPrefixLen": 0,
  195.             "IPv6Gateway": "",
  196.             "MacAddress": "",
  197.             "Networks": {
  198.                 "test_default": {
  199.                     "IPAMConfig": null,
  200.                     "Links": null,
  201.                     "Aliases": [
  202.                         "a3920208d52f",
  203.                         "api"
  204.                     ],
  205.                     "NetworkID": "de3850839b96e7b6dfde939f7fb9b247beb1267c7557c4
  206. bd7ea23f168535f506",
  207.                     "EndpointID": "",
  208.                     "Gateway": "",
  209.                     "IPAddress": "",
  210.                     "IPPrefixLen": 0,
  211.                     "IPv6Gateway": "",
  212.                     "GlobalIPv6Address": "",
  213.                     "GlobalIPv6PrefixLen": 0,
  214.                     "MacAddress": "",
  215.                     "DriverOpts": null
  216.                 }
  217.             }
  218.         }
  219.     }
  220. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement