Skip to content

Instantly share code, notes, and snippets.

@zavalit
Created April 6, 2016 09:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zavalit/40bd3ce8629ad81fcd6793ca63f99491 to your computer and use it in GitHub Desktop.
Save zavalit/40bd3ce8629ad81fcd6793ca63f99491 to your computer and use it in GitHub Desktop.
Nonworking volume mount on Ubuntu host
[
{
"Id": "b9e73827bc3c5265c68bdb661ee55c65f536596c2f9e92702819327b8f058623",
"Created": "2016-04-06T09:10:08.451420188Z",
"Path": "/bin/bash",
"Args": [],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 4906,
"ExitCode": 0,
"Error": "",
"StartedAt": "2016-04-06T09:10:08.825242916Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "sha256:a1e4ed2ac65bee68a8f0b63304b6ebdbb14fedee94b76aa6680f243dd722f50a",
"ResolvConfPath": "/mnt/sda1/var/lib/docker/containers/b9e73827bc3c5265c68bdb661ee55c65f536596c2f9e92702819327b8f058623/resolv.conf",
"HostnamePath": "/mnt/sda1/var/lib/docker/containers/b9e73827bc3c5265c68bdb661ee55c65f536596c2f9e92702819327b8f058623/hostname",
"HostsPath": "/mnt/sda1/var/lib/docker/containers/b9e73827bc3c5265c68bdb661ee55c65f536596c2f9e92702819327b8f058623/hosts",
"LogPath": "/mnt/sda1/var/lib/docker/containers/b9e73827bc3c5265c68bdb661ee55c65f536596c2f9e92702819327b8f058623/b9e73827bc3c5265c68bdb661ee55c65f536596c2f9e92702819327b8f058623-json.log",
"Name": "/hungry_poincare",
"RestartCount": 0,
"Driver": "aufs",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/opt/projects/phping.me/test:/var/www:rw"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "default",
"PortBindings": {},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"UTSMode": "",
"ShmSize": 67108864,
"ConsoleSize": [
0,
0
],
"Isolation": "",
"CpuShares": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"KernelMemory": 0,
"Memory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": -1,
"OomKillDisable": false,
"PidsLimit": 0,
"Ulimits": null
},
"GraphDriver": {
"Name": "aufs",
"Data": null
},
"Mounts": [
{
"Source": "/opt/projects/phping.me/test",
"Destination": "/var/www",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
}
],
"Config": {
"Hostname": "b9e73827bc3c",
"Domainname": "",
"User": "",
"AttachStdin": true,
"AttachStdout": true,
"AttachStderr": true,
"Tty": true,
"OpenStdin": true,
"StdinOnce": true,
"Env": [],
"Cmd": [
"/bin/bash"
],
"Image": "ubuntu",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": {},
"StopSignal": "SIGTERM"
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "37541ce07a7b9fb1a65a0b1c13572b68c3eea2d955563ebe46805a01f9d47db3",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {},
"SandboxKey": "/var/run/docker/netns/37541ce07a7b",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "99a2b62a5c6c43024871df9a20546d3b885d36096774f4605b2b3617e3025276",
"Gateway": "172.17.0.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"MacAddress": "02:42:ac:11:00:02",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "62b0cf17043d53b3b8c5d481ccd36db892da1e3c708c952e6b46596aee2e5664",
"EndpointID": "99a2b62a5c6c43024871df9a20546d3b885d36096774f4605b2b3617e3025276",
"Gateway": "172.17.0.1",
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:11:00:02"
}
}
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment