Advertisement
Guest User

Untitled

a guest
Mar 16th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.49 KB | None | 0 0
  1. cspnscbibuser@cspnscbibpc:~$ docker inspect koha_mysql
  2. [
  3. {
  4. "Id": "9f3ee173e6ef014fcdd1adddb5c60265fc796d24fd24271334df3ed15823b919",
  5. "Created": "2017-03-13T10:23:54.096826565Z",
  6. "Path": "/entrypoint.sh",
  7. "Args": [
  8. "mysqld",
  9. "--datadir=/var/lib/mysql",
  10. "--user=mysql",
  11. "--max_allowed_packet=64M",
  12. "--wait_timeout=6000",
  13. "--bind-address=0.0.0.0"
  14. ],
  15. "State": {
  16. "Status": "running",
  17. "Running": true,
  18. "Paused": false,
  19. "Restarting": false,
  20. "OOMKilled": false,
  21. "Dead": false,
  22. "Pid": 1450,
  23. "ExitCode": 0,
  24. "Error": "",
  25. "StartedAt": "2017-03-16T09:38:10.712192028Z",
  26. "FinishedAt": "2017-03-16T09:37:37.810320786Z"
  27. },
  28. "Image": "sha256:07ae3687a60e2f87fac3373346013ae3068d283ca77be0d93dadb15ee56eb03a",
  29. "ResolvConfPath": "/var/lib/docker/containers/9f3ee173e6ef014fcdd1adddb5c60265fc796d24fd24271334df3ed15823b919/resolv.conf",
  30. "HostnamePath": "/var/lib/docker/containers/9f3ee173e6ef014fcdd1adddb5c60265fc796d24fd24271334df3ed15823b919/hostname",
  31. "HostsPath": "/var/lib/docker/containers/9f3ee173e6ef014fcdd1adddb5c60265fc796d24fd24271334df3ed15823b919/hosts",
  32. "LogPath": "/var/lib/docker/containers/9f3ee173e6ef014fcdd1adddb5c60265fc796d24fd24271334df3ed15823b919/9f3ee173e6ef014fcdd1adddb5c60265fc796d24fd24271334df3ed15823b919-json.log",
  33. "Name": "/koha_mysql",
  34. "RestartCount": 0,
  35. "Driver": "aufs",
  36. "MountLabel": "",
  37. "ProcessLabel": "",
  38. "AppArmorProfile": "",
  39. "ExecIDs": null,
  40. "HostConfig": {
  41. "Binds": [
  42. "dockercompose_koha_mysql_data:/var/lib/mysql:rw"
  43. ],
  44. "ContainerIDFile": "",
  45. "LogConfig": {
  46. "Type": "json-file",
  47. "Config": {
  48. "max-file": "2",
  49. "max-size": "1m"
  50. }
  51. },
  52. "NetworkMode": "dockercompose_backend",
  53. "PortBindings": {
  54. "3306/tcp": [
  55. {
  56. "HostIp": "",
  57. "HostPort": "3306"
  58. }
  59. ]
  60. },
  61. "RestartPolicy": {
  62. "Name": "",
  63. "MaximumRetryCount": 0
  64. },
  65. "AutoRemove": false,
  66. "VolumeDriver": "",
  67. "VolumesFrom": [],
  68. "CapAdd": [
  69. "MKNOD"
  70. ],
  71. "CapDrop": null,
  72. "Dns": [],
  73. "DnsOptions": [],
  74. "DnsSearch": [],
  75. "ExtraHosts": null,
  76. "GroupAdd": null,
  77. "IpcMode": "",
  78. "Cgroup": "",
  79. "Links": null,
  80. "OomScoreAdj": 0,
  81. "PidMode": "",
  82. "Privileged": false,
  83. "PublishAllPorts": false,
  84. "ReadonlyRootfs": false,
  85. "SecurityOpt": null,
  86. "UTSMode": "",
  87. "UsernsMode": "",
  88. "ShmSize": 67108864,
  89. "Runtime": "runc",
  90. "ConsoleSize": [
  91. 0,
  92. 0
  93. ],
  94. "Isolation": "",
  95. "CpuShares": 0,
  96. "Memory": 0,
  97. "NanoCpus": 0,
  98. "CgroupParent": "",
  99. "BlkioWeight": 0,
  100. "BlkioWeightDevice": null,
  101. "BlkioDeviceReadBps": null,
  102. "BlkioDeviceWriteBps": null,
  103. "BlkioDeviceReadIOps": null,
  104. "BlkioDeviceWriteIOps": null,
  105. "CpuPeriod": 0,
  106. "CpuQuota": 0,
  107. "CpuRealtimePeriod": 0,
  108. "CpuRealtimeRuntime": 0,
  109. "CpusetCpus": "",
  110. "CpusetMems": "",
  111. "Devices": null,
  112. "DiskQuota": 0,
  113. "KernelMemory": 0,
  114. "MemoryReservation": 0,
  115. "MemorySwap": 0,
  116. "MemorySwappiness": -1,
  117. "OomKillDisable": false,
  118. "PidsLimit": 0,
  119. "Ulimits": null,
  120. "CpuCount": 0,
  121. "CpuPercent": 0,
  122. "IOMaximumIOps": 0,
  123. "IOMaximumBandwidth": 0
  124. },
  125. "GraphDriver": {
  126. "Name": "aufs",
  127. "Data": null
  128. },
  129. "Mounts": [
  130. {
  131. "Type": "volume",
  132. "Name": "dockercompose_koha_mysql_data",
  133. "Source": "/var/lib/docker/volumes/dockercompose_koha_mysql_data/_data",
  134. "Destination": "/var/lib/mysql",
  135. "Driver": "local",
  136. "Mode": "rw",
  137. "RW": true,
  138. "Propagation": ""
  139. }
  140. ],
  141. "Config": {
  142. "Hostname": "9f3ee173e6ef",
  143. "Domainname": "",
  144. "User": "",
  145. "AttachStdin": false,
  146. "AttachStdout": false,
  147. "AttachStderr": false,
  148. "ExposedPorts": {
  149. "3306/tcp": {}
  150. },
  151. "Tty": false,
  152. "OpenStdin": false,
  153. "StdinOnce": false,
  154. "Env": [
  155. "MYSQL_PASSWORD=secret",
  156. "MYSQL_ROOT_PASSWORD=secret",
  157. "MYSQL_USER=admin",
  158. "MYSQL_DATABASE=koha_name",
  159. "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/mysql/bin:/usr/local/mysql/scripts",
  160. "MYSQL_MAJOR=5.6",
  161. "MYSQL_VERSION=5.6.20"
  162. ],
  163. "Cmd": [
  164. "mysqld",
  165. "--datadir=/var/lib/mysql",
  166. "--user=mysql",
  167. "--max_allowed_packet=64M",
  168. "--wait_timeout=6000",
  169. "--bind-address=0.0.0.0"
  170. ],
  171. "Image": "mysql:5.6.20",
  172. "Volumes": {
  173. "/var/lib/mysql": {}
  174. },
  175. "WorkingDir": "/usr/local/mysql",
  176. "Entrypoint": [
  177. "/entrypoint.sh"
  178. ],
  179. "OnBuild": null,
  180. "Labels": {
  181. "com.docker.compose.config-hash": "63406c5c6de447a262ac1d00d347ab44699b00f7fe4ba0e8dd4485eb00fa1d4a",
  182. "com.docker.compose.container-number": "1",
  183. "com.docker.compose.oneoff": "False",
  184. "com.docker.compose.project": "dockercompose",
  185. "com.docker.compose.service": "koha_mysql",
  186. "com.docker.compose.version": "1.11.0"
  187. }
  188. },
  189. "NetworkSettings": {
  190. "Bridge": "",
  191. "SandboxID": "2d2c53fe965d89a491aabecfe2b28b1822d59647bbd11a4f22cde328839b4f36",
  192. "HairpinMode": false,
  193. "LinkLocalIPv6Address": "",
  194. "LinkLocalIPv6PrefixLen": 0,
  195. "Ports": {
  196. "3306/tcp": [
  197. {
  198. "HostIp": "0.0.0.0",
  199. "HostPort": "3306"
  200. }
  201. ]
  202. },
  203. "SandboxKey": "/var/run/docker/netns/2d2c53fe965d",
  204. "SecondaryIPAddresses": null,
  205. "SecondaryIPv6Addresses": null,
  206. "EndpointID": "",
  207. "Gateway": "",
  208. "GlobalIPv6Address": "",
  209. "GlobalIPv6PrefixLen": 0,
  210. "IPAddress": "",
  211. "IPPrefixLen": 0,
  212. "IPv6Gateway": "",
  213. "MacAddress": "",
  214. "Networks": {
  215. "dockercompose_backend": {
  216. "IPAMConfig": null,
  217. "Links": null,
  218. "Aliases": [
  219. "9f3ee173e6ef",
  220. "koha_mysql"
  221. ],
  222. "NetworkID": "e928c61d07e3ae19c1870aa588a986c0dcfc17a1f68f90ef5101b2de4574c3b7",
  223. "EndpointID": "7bee9944c8dd795ee870dca13b8346777b982848ef2c4e0881394a0dda4d9349",
  224. "Gateway": "172.18.0.1",
  225. "IPAddress": "172.18.0.2",
  226. "IPPrefixLen": 16,
  227. "IPv6Gateway": "",
  228. "GlobalIPv6Address": "",
  229. "GlobalIPv6PrefixLen": 0,
  230. "MacAddress": "02:42:ac:12:00:02"
  231. }
  232. }
  233. }
  234. }
  235. ]
  236. cspnscbibuser@cspnscbibpc:~$ {
  237. > "Type": "volume",
  238. > "Name": "dockercompose_koha_mysql_data",
  239. > "Source": "/var/lib/docker/volumes/dockercompose_koha_mysql_data/_data",
  240. > "Destination": "/var/lib/mysql",
  241. > "Driver": "local",
  242. > "Mode": "rw",
  243. > "RW": true,
  244. > "Propagation": ""
  245. > }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement