Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cspnscbibuser@cspnscbibpc:~$ docker inspect koha_mysql
- [
- {
- "Id": "9f3ee173e6ef014fcdd1adddb5c60265fc796d24fd24271334df3ed15823b919",
- "Created": "2017-03-13T10:23:54.096826565Z",
- "Path": "/entrypoint.sh",
- "Args": [
- "mysqld",
- "--datadir=/var/lib/mysql",
- "--user=mysql",
- "--max_allowed_packet=64M",
- "--wait_timeout=6000",
- "--bind-address=0.0.0.0"
- ],
- "State": {
- "Status": "running",
- "Running": true,
- "Paused": false,
- "Restarting": false,
- "OOMKilled": false,
- "Dead": false,
- "Pid": 1450,
- "ExitCode": 0,
- "Error": "",
- "StartedAt": "2017-03-16T09:38:10.712192028Z",
- "FinishedAt": "2017-03-16T09:37:37.810320786Z"
- },
- "Image": "sha256:07ae3687a60e2f87fac3373346013ae3068d283ca77be0d93dadb15ee56eb03a",
- "ResolvConfPath": "/var/lib/docker/containers/9f3ee173e6ef014fcdd1adddb5c60265fc796d24fd24271334df3ed15823b919/resolv.conf",
- "HostnamePath": "/var/lib/docker/containers/9f3ee173e6ef014fcdd1adddb5c60265fc796d24fd24271334df3ed15823b919/hostname",
- "HostsPath": "/var/lib/docker/containers/9f3ee173e6ef014fcdd1adddb5c60265fc796d24fd24271334df3ed15823b919/hosts",
- "LogPath": "/var/lib/docker/containers/9f3ee173e6ef014fcdd1adddb5c60265fc796d24fd24271334df3ed15823b919/9f3ee173e6ef014fcdd1adddb5c60265fc796d24fd24271334df3ed15823b919-json.log",
- "Name": "/koha_mysql",
- "RestartCount": 0,
- "Driver": "aufs",
- "MountLabel": "",
- "ProcessLabel": "",
- "AppArmorProfile": "",
- "ExecIDs": null,
- "HostConfig": {
- "Binds": [
- "dockercompose_koha_mysql_data:/var/lib/mysql:rw"
- ],
- "ContainerIDFile": "",
- "LogConfig": {
- "Type": "json-file",
- "Config": {
- "max-file": "2",
- "max-size": "1m"
- }
- },
- "NetworkMode": "dockercompose_backend",
- "PortBindings": {
- "3306/tcp": [
- {
- "HostIp": "",
- "HostPort": "3306"
- }
- ]
- },
- "RestartPolicy": {
- "Name": "",
- "MaximumRetryCount": 0
- },
- "AutoRemove": false,
- "VolumeDriver": "",
- "VolumesFrom": [],
- "CapAdd": [
- "MKNOD"
- ],
- "CapDrop": null,
- "Dns": [],
- "DnsOptions": [],
- "DnsSearch": [],
- "ExtraHosts": null,
- "GroupAdd": null,
- "IpcMode": "",
- "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,
- "DiskQuota": 0,
- "KernelMemory": 0,
- "MemoryReservation": 0,
- "MemorySwap": 0,
- "MemorySwappiness": -1,
- "OomKillDisable": false,
- "PidsLimit": 0,
- "Ulimits": null,
- "CpuCount": 0,
- "CpuPercent": 0,
- "IOMaximumIOps": 0,
- "IOMaximumBandwidth": 0
- },
- "GraphDriver": {
- "Name": "aufs",
- "Data": null
- },
- "Mounts": [
- {
- "Type": "volume",
- "Name": "dockercompose_koha_mysql_data",
- "Source": "/var/lib/docker/volumes/dockercompose_koha_mysql_data/_data",
- "Destination": "/var/lib/mysql",
- "Driver": "local",
- "Mode": "rw",
- "RW": true,
- "Propagation": ""
- }
- ],
- "Config": {
- "Hostname": "9f3ee173e6ef",
- "Domainname": "",
- "User": "",
- "AttachStdin": false,
- "AttachStdout": false,
- "AttachStderr": false,
- "ExposedPorts": {
- "3306/tcp": {}
- },
- "Tty": false,
- "OpenStdin": false,
- "StdinOnce": false,
- "Env": [
- "MYSQL_PASSWORD=secret",
- "MYSQL_ROOT_PASSWORD=secret",
- "MYSQL_USER=admin",
- "MYSQL_DATABASE=koha_name",
- "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/mysql/bin:/usr/local/mysql/scripts",
- "MYSQL_MAJOR=5.6",
- "MYSQL_VERSION=5.6.20"
- ],
- "Cmd": [
- "mysqld",
- "--datadir=/var/lib/mysql",
- "--user=mysql",
- "--max_allowed_packet=64M",
- "--wait_timeout=6000",
- "--bind-address=0.0.0.0"
- ],
- "Image": "mysql:5.6.20",
- "Volumes": {
- "/var/lib/mysql": {}
- },
- "WorkingDir": "/usr/local/mysql",
- "Entrypoint": [
- "/entrypoint.sh"
- ],
- "OnBuild": null,
- "Labels": {
- "com.docker.compose.config-hash": "63406c5c6de447a262ac1d00d347ab44699b00f7fe4ba0e8dd4485eb00fa1d4a",
- "com.docker.compose.container-number": "1",
- "com.docker.compose.oneoff": "False",
- "com.docker.compose.project": "dockercompose",
- "com.docker.compose.service": "koha_mysql",
- "com.docker.compose.version": "1.11.0"
- }
- },
- "NetworkSettings": {
- "Bridge": "",
- "SandboxID": "2d2c53fe965d89a491aabecfe2b28b1822d59647bbd11a4f22cde328839b4f36",
- "HairpinMode": false,
- "LinkLocalIPv6Address": "",
- "LinkLocalIPv6PrefixLen": 0,
- "Ports": {
- "3306/tcp": [
- {
- "HostIp": "0.0.0.0",
- "HostPort": "3306"
- }
- ]
- },
- "SandboxKey": "/var/run/docker/netns/2d2c53fe965d",
- "SecondaryIPAddresses": null,
- "SecondaryIPv6Addresses": null,
- "EndpointID": "",
- "Gateway": "",
- "GlobalIPv6Address": "",
- "GlobalIPv6PrefixLen": 0,
- "IPAddress": "",
- "IPPrefixLen": 0,
- "IPv6Gateway": "",
- "MacAddress": "",
- "Networks": {
- "dockercompose_backend": {
- "IPAMConfig": null,
- "Links": null,
- "Aliases": [
- "9f3ee173e6ef",
- "koha_mysql"
- ],
- "NetworkID": "e928c61d07e3ae19c1870aa588a986c0dcfc17a1f68f90ef5101b2de4574c3b7",
- "EndpointID": "7bee9944c8dd795ee870dca13b8346777b982848ef2c4e0881394a0dda4d9349",
- "Gateway": "172.18.0.1",
- "IPAddress": "172.18.0.2",
- "IPPrefixLen": 16,
- "IPv6Gateway": "",
- "GlobalIPv6Address": "",
- "GlobalIPv6PrefixLen": 0,
- "MacAddress": "02:42:ac:12:00:02"
- }
- }
- }
- }
- ]
- cspnscbibuser@cspnscbibpc:~$ {
- > "Type": "volume",
- > "Name": "dockercompose_koha_mysql_data",
- > "Source": "/var/lib/docker/volumes/dockercompose_koha_mysql_data/_data",
- > "Destination": "/var/lib/mysql",
- > "Driver": "local",
- > "Mode": "rw",
- > "RW": true,
- > "Propagation": ""
- > }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement