Advertisement
Guest User

docker-compose

a guest
Mar 2nd, 2016
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.04 KB | None | 0 0
  1. docker inspect gocd-server
  2. [
  3. {
  4. "Id": "960806d297bbed0d4362fc1918056c32f9cf60235b6a833339c7d6acdb39bb2d",
  5. "Created": "2016-03-02T19:01:29.127854029Z",
  6. "Path": "/bin/sh",
  7. "Args": [
  8. "-c",
  9. "/etc/init.d/go-server start \u0026\u0026 tail -f /var/log/go-server/go-server.log"
  10. ],
  11. "State": {
  12. "Status": "running",
  13. "Running": true,
  14. "Paused": false,
  15. "Restarting": false,
  16. "OOMKilled": false,
  17. "Dead": false,
  18. "Pid": 6791,
  19. "ExitCode": 0,
  20. "Error": "",
  21. "StartedAt": "2016-03-02T19:08:22.280371034Z",
  22. "FinishedAt": "2016-03-02T19:08:12.718979427Z"
  23. },
  24. "Image": "sha256:6a1cc35e82da7c64c67c0754b750adee14f364936832f5a8d44106e4559a85d5",
  25. "ResolvConfPath": "/var/lib/docker/containers/960806d297bbed0d4362fc1918056c32f9cf60235b6a833339c7d6acdb39bb2d/resolv.conf",
  26. "HostnamePath": "/var/lib/docker/containers/960806d297bbed0d4362fc1918056c32f9cf60235b6a833339c7d6acdb39bb2d/hostname",
  27. "HostsPath": "/var/lib/docker/containers/960806d297bbed0d4362fc1918056c32f9cf60235b6a833339c7d6acdb39bb2d/hosts",
  28. "LogPath": "/var/lib/docker/containers/960806d297bbed0d4362fc1918056c32f9cf60235b6a833339c7d6acdb39bb2d/960806d297bbed0d4362fc1918056c32f9cf60235b6a833339c7d6acdb39bb2d-json.log",
  29. "Name": "/gocd-server",
  30. "RestartCount": 0,
  31. "Driver": "devicemapper",
  32. "MountLabel": "",
  33. "ProcessLabel": "",
  34. "AppArmorProfile": "",
  35. "ExecIDs": null,
  36. "HostConfig": {
  37. "Binds": [
  38. "/mnt/data/docker/gocd/flyweight:/var/lib/go-server/pipelines/flyweight:rw",
  39. "/mnt/data/docker/gocd/config:/etc/go:rw",
  40. "/mnt/data/docker/gocd/plugins:/var/lib/go-server/plugins/external:rw",
  41. "/mnt/data/docker/gocd/ssh:/var/go/.ssh:rw",
  42. "/mnt/data/docker/gocd/artifacts:/var/lib/go-server/artifacts:rw",
  43. "/mnt/data/docker/gocd/db:/var/lib/go-server/db/h2db:rw"
  44. ],
  45. "ContainerIDFile": "",
  46. "LogConfig": {
  47. "Type": "json-file",
  48. "Config": {}
  49. },
  50. "NetworkMode": "default",
  51. "PortBindings": {
  52. "8153/tcp": [
  53. {
  54. "HostIp": "",
  55. "HostPort": "18153"
  56. }
  57. ],
  58. "8154/tcp": [
  59. {
  60. "HostIp": "",
  61. "HostPort": "18154"
  62. }
  63. ]
  64. },
  65. "RestartPolicy": {
  66. "Name": "",
  67. "MaximumRetryCount": 0
  68. },
  69. "VolumeDriver": "",
  70. "VolumesFrom": [],
  71. "CapAdd": null,
  72. "CapDrop": null,
  73. "Dns": null,
  74. "DnsOptions": null,
  75. "DnsSearch": null,
  76. "ExtraHosts": null,
  77. "GroupAdd": null,
  78. "IpcMode": "",
  79. "Links": null,
  80. "OomScoreAdj": 0,
  81. "PidMode": "",
  82. "Privileged": false,
  83. "PublishAllPorts": false,
  84. "ReadonlyRootfs": false,
  85. "SecurityOpt": null,
  86. "UTSMode": "",
  87. "ShmSize": 67108864,
  88. "ConsoleSize": [
  89. 0,
  90. 0
  91. ],
  92. "Isolation": "",
  93. "CpuShares": 0,
  94. "CgroupParent": "",
  95. "BlkioWeight": 0,
  96. "BlkioWeightDevice": null,
  97. "BlkioDeviceReadBps": null,
  98. "BlkioDeviceWriteBps": null,
  99. "BlkioDeviceReadIOps": null,
  100. "BlkioDeviceWriteIOps": null,
  101. "CpuPeriod": 0,
  102. "CpuQuota": 0,
  103. "CpusetCpus": "",
  104. "CpusetMems": "",
  105. "Devices": null,
  106. "KernelMemory": 0,
  107. "Memory": 0,
  108. "MemoryReservation": 0,
  109. "MemorySwap": 0,
  110. "MemorySwappiness": -1,
  111. "OomKillDisable": false,
  112. "PidsLimit": 0,
  113. "Ulimits": null
  114. },
  115. "GraphDriver": {
  116. "Name": "devicemapper",
  117. "Data": {
  118. "DeviceId": "625",
  119. "DeviceName": "docker-8:3-6684765-67af0a88d65e5433b6f5a09ea3d1575f214c6bc80fdae3e523b748537d6e237b",
  120. "DeviceSize": "10737418240"
  121. }
  122. },
  123. "Mounts": [
  124. {
  125. "Source": "/mnt/data/docker/gocd/plugins",
  126. "Destination": "/var/lib/go-server/plugins/external",
  127. "Mode": "rw",
  128. "RW": true,
  129. "Propagation": "rprivate"
  130. },
  131. {
  132. "Source": "/mnt/data/docker/gocd/ssh",
  133. "Destination": "/var/go/.ssh",
  134. "Mode": "rw",
  135. "RW": true,
  136. "Propagation": "rprivate"
  137. },
  138. {
  139. "Source": "/mnt/data/docker/gocd/artifacts",
  140. "Destination": "/var/lib/go-server/artifacts",
  141. "Mode": "rw",
  142. "RW": true,
  143. "Propagation": "rprivate"
  144. },
  145. {
  146. "Source": "/mnt/data/docker/gocd/db",
  147. "Destination": "/var/lib/go-server/db/h2db",
  148. "Mode": "rw",
  149. "RW": true,
  150. "Propagation": "rprivate"
  151. },
  152. {
  153. "Source": "/mnt/data/docker/gocd/flyweight",
  154. "Destination": "/var/lib/go-server/pipelines/flyweight",
  155. "Mode": "rw",
  156. "RW": true,
  157. "Propagation": "rprivate"
  158. },
  159. {
  160. "Source": "/mnt/data/docker/gocd/config",
  161. "Destination": "/etc/go",
  162. "Mode": "rw",
  163. "RW": true,
  164. "Propagation": "rprivate"
  165. }
  166. ],
  167. "Config": {
  168. "Hostname": "960806d297bb",
  169. "Domainname": "",
  170. "User": "",
  171. "AttachStdin": false,
  172. "AttachStdout": false,
  173. "AttachStderr": false,
  174. "ExposedPorts": {
  175. "8153/tcp": {},
  176. "8154/tcp": {}
  177. },
  178. "Tty": false,
  179. "OpenStdin": false,
  180. "StdinOnce": false,
  181. "Env": [
  182. "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
  183. "LANG=C.UTF-8",
  184. "JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64",
  185. "JAVA_VERSION=8u72",
  186. "JAVA_DEBIAN_VERSION=8u72-b15-1~bpo8+1",
  187. "CA_CERTIFICATES_JAVA_VERSION=20140324",
  188. "GO_VERSION=16.2.1-3027",
  189. "TERM=xterm",
  190. "USER_NAME=go",
  191. "USER_ID=15000",
  192. "GROUP_NAME=go",
  193. "GROUP_ID=15000"
  194. ],
  195. "Cmd": [
  196. "/bin/sh",
  197. "-c",
  198. "/etc/init.d/go-server start \u0026\u0026 tail -f /var/log/go-server/go-server.log"
  199. ],
  200. "Image": "gocd-server-test",
  201. "Volumes": {
  202. "/etc/go": {},
  203. "/var/go/.ssh": {},
  204. "/var/lib/go-server/artifacts": {},
  205. "/var/lib/go-server/db/h2db": {},
  206. "/var/lib/go-server/pipelines/flyweight": {},
  207. "/var/lib/go-server/plugins/external": {}
  208. },
  209. "WorkingDir": "",
  210. "Entrypoint": null,
  211. "OnBuild": null,
  212. "Labels": {
  213. "com.docker.compose.config-hash": "c9322c4c3f82048848c64041da35790a78c697a80bb5d0a4a14a22210f0e2ac1",
  214. "com.docker.compose.container-number": "1",
  215. "com.docker.compose.oneoff": "False",
  216. "com.docker.compose.project": "docker",
  217. "com.docker.compose.service": "gocd-server",
  218. "com.docker.compose.version": "1.6.2"
  219. }
  220. },
  221. "NetworkSettings": {
  222. "Bridge": "",
  223. "SandboxID": "a849714e2066f30f9faea6ad30c988cd44f44441a9f324168dcd750cc9877f57",
  224. "HairpinMode": false,
  225. "LinkLocalIPv6Address": "",
  226. "LinkLocalIPv6PrefixLen": 0,
  227. "Ports": {
  228. "8153/tcp": [
  229. {
  230. "HostIp": "0.0.0.0",
  231. "HostPort": "18153"
  232. }
  233. ],
  234. "8154/tcp": [
  235. {
  236. "HostIp": "0.0.0.0",
  237. "HostPort": "18154"
  238. }
  239. ]
  240. },
  241. "SandboxKey": "/var/run/docker/netns/a849714e2066",
  242. "SecondaryIPAddresses": null,
  243. "SecondaryIPv6Addresses": null,
  244. "EndpointID": "0a7f927dd63a1560d78b93acd1e8b4257d844d718b9b7648b970f95240fde957",
  245. "Gateway": "172.17.0.1",
  246. "GlobalIPv6Address": "",
  247. "GlobalIPv6PrefixLen": 0,
  248. "IPAddress": "172.17.0.2",
  249. "IPPrefixLen": 16,
  250. "IPv6Gateway": "",
  251. "MacAddress": "02:42:ac:11:00:02",
  252. "Networks": {
  253. "bridge": {
  254. "IPAMConfig": null,
  255. "Links": null,
  256. "Aliases": null,
  257. "NetworkID": "68d24a1cda7364afd2261dd579f0ec4c7bc47d08e131746b1aa898481d7c43ea",
  258. "EndpointID": "0a7f927dd63a1560d78b93acd1e8b4257d844d718b9b7648b970f95240fde957",
  259. "Gateway": "172.17.0.1",
  260. "IPAddress": "172.17.0.2",
  261. "IPPrefixLen": 16,
  262. "IPv6Gateway": "",
  263. "GlobalIPv6Address": "",
  264. "GlobalIPv6PrefixLen": 0,
  265. "MacAddress": "02:42:ac:11:00:02"
  266. }
  267. }
  268. }
  269. }
  270. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement