1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136
| [root@h1 ~]# docker inspect daemon_dev [ { "Id": "efd88d4e01c380b5d70b0f96175e223b76cdc1be0b22697e08e8a58f786005cd", "Created": "2016-10-17T03:05:06.213822618Z", "Path": "/bin/sh", "Args": [ "-c", "while true;do echo hello world;sleep 1;done" ], "State": { "Running": true, "Paused": false, "Restarting": false, "OOMKilled": false, "Dead": false, "Pid": 7646, "ExitCode": 0, "Error": "", "StartedAt": "2016-10-17T03:05:06.616292242Z", "FinishedAt": "0001-01-01T00:00:00Z" }, "Image": "80e46367f84650bdda8e3e638ba61be232e9881a8159bfed6d42f914597c68f4", "NetworkSettings": { "Bridge": "", "EndpointID": "36b326748dd4914c72cb3b349aebeda4d2bd74f4a9fba497f02c8784f24c002d", "Gateway": "172.17.42.1", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "HairpinMode": false, "IPAddress": "172.17.0.12", "IPPrefixLen": 16, "IPv6Gateway": "", "LinkLocalIPv6Address": "", "LinkLocalIPv6PrefixLen": 0, "MacAddress": "02:42:ac:11:00:0c", "NetworkID": "1839f9caada911ea3b980fde577641dabbef9b198b5da9850f686115753c293a", "PortMapping": null, "Ports": {}, "SandboxKey": "/var/run/docker/netns/efd88d4e01c3", "SecondaryIPAddresses": null, "SecondaryIPv6Addresses": null }, "ResolvConfPath": "/var/lib/docker/containers/efd88d4e01c380b5d70b0f96175e223b76cdc1be0b22697e08e8a58f786005cd/resolv.conf", "HostnamePath": "/var/lib/docker/containers/efd88d4e01c380b5d70b0f96175e223b76cdc1be0b22697e08e8a58f786005cd/hostname", "HostsPath": "/var/lib/docker/containers/efd88d4e01c380b5d70b0f96175e223b76cdc1be0b22697e08e8a58f786005cd/hosts", "LogPath": "/var/lib/docker/containers/efd88d4e01c380b5d70b0f96175e223b76cdc1be0b22697e08e8a58f786005cd/efd88d4e01c380b5d70b0f961 75e223b76cdc1be0b22697e08e8a58f786005cd-json.log", "Name": "/daemon_dev", "RestartCount": 0, "Driver": "devicemapper", "ExecDriver": "native-0.2", "MountLabel": "", "ProcessLabel": "", "Volumes": {}, "VolumesRW": {}, "AppArmorProfile": "", "ExecIDs": null, "HostConfig": { "Binds": null, "ContainerIDFile": "", "LxcConf": [], "Memory": 0, "MemorySwap": 0, "CpuShares": 0, "CpuPeriod": 0, "CpusetCpus": "", "CpusetMems": "", "CpuQuota": 0, "BlkioWeight": 0, "OomKillDisable": false, "Privileged": false, "PortBindings": {}, "Links": null, "PublishAllPorts": false, "Dns": null, "DnsSearch": null, "ExtraHosts": null, "VolumesFrom": null, "Devices": [], "NetworkMode": "bridge", "IpcMode": "", "PidMode": "", "UTSMode": "", "CapAdd": null, "CapDrop": null, "RestartPolicy": { "Name": "always", "MaximumRetryCount": 0 }, "SecurityOpt": null, "ReadonlyRootfs": false, "Ulimits": null, "LogConfig": { "Type": "json-file", "Config": {} }, "CgroupParent": "" }, "Config": { "Hostname": "efd88d4e01c3", "Domainname": "", "User": "", "AttachStdin": false, "AttachStdout": false, "AttachStderr": false, "PortSpecs": null, "ExposedPorts": null, "Tty": false, "OpenStdin": false, "StdinOnce": false, "Env": [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ], "Cmd": [ "/bin/sh", "-c", "while true;do echo hello world;sleep 1;done" ], "Image": "centos:6.8", "Volumes": null, "VolumeDriver": "", "WorkingDir": "", "Entrypoint": null, "NetworkDisabled": false, "MacAddress": "", "OnBuild": null, "Labels": { "build-date": "2016-06-02", "license": "GPLv2", "name": "CentOS Base Image", "vendor": "CentOS" } } } ] [root@h1 ~]#
|