Skip to content

Instantly share code, notes, and snippets.

@nastycoder
Last active January 26, 2016 19:07
Show Gist options
  • Save nastycoder/89e5da1cb7fd0524a0a3 to your computer and use it in GitHub Desktop.
Save nastycoder/89e5da1cb7fd0524a0a3 to your computer and use it in GitHub Desktop.
Relevant information associated with a docker-compose issue.
[
{
"Id": "065bd1ade8e8760d3831301590c41e2e38d3fedf709ee23413647f04e2855238",
"Created": "2016-01-26T18:45:41.850911604Z",
"Path": "./operate-on-all",
"Args": [
"-w"
],
"State": {
"Status": "created",
"Running": false,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 0,
"ExitCode": -1,
"Error": "[8] System error: exec: \"./operate-on-all\": stat ./operate-on-all: no such file or directory",
"StartedAt": "0001-01-01T00:00:00Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "f8da86eeee6544f99e2a69e22db8e3d8f9d49a8db94cdfa89efda96027f5e5fe",
"ResolvConfPath": "/var/lib/docker/containers/065bd1ade8e8760d3831301590c41e2e38d3fedf709ee23413647f04e2855238/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/065bd1ade8e8760d3831301590c41e2e38d3fedf709ee23413647f04e2855238/hostname",
"HostsPath": "/var/lib/docker/containers/065bd1ade8e8760d3831301590c41e2e38d3fedf709ee23413647f04e2855238/hosts",
"LogPath": "/var/lib/docker/containers/065bd1ade8e8760d3831301590c41e2e38d3fedf709ee23413647f04e2855238/065bd1ade8e8760d3831301590c41e2e38d3fedf709ee23413647f04e2855238-json.log",
"Name": "/ng_ng_1",
"RestartCount": 0,
"Driver": "aufs",
"ExecDriver": "native-0.2",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/Users/me/Dev/ng:/app:rw"
],
"ContainerIDFile": "",
"LxcConf": null,
"Memory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"KernelMemory": 0,
"CpuShares": 0,
"CpuPeriod": 0,
"CpusetCpus": "",
"CpusetMems": "",
"CpuQuota": 0,
"BlkioWeight": 0,
"OomKillDisable": false,
"MemorySwappiness": null,
"Privileged": false,
"PortBindings": {},
"Links": null,
"PublishAllPorts": false,
"Dns": null,
"DnsOptions": null,
"DnsSearch": null,
"ExtraHosts": null,
"VolumesFrom": [],
"Devices": null,
"NetworkMode": "default",
"IpcMode": "",
"PidMode": "",
"UTSMode": "",
"CapAdd": null,
"CapDrop": null,
"GroupAdd": null,
"RestartPolicy": {
"Name": "",
"MaximumRetryCount": 0
},
"SecurityOpt": null,
"ReadonlyRootfs": false,
"Ulimits": null,
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"CgroupParent": "",
"ConsoleSize": [
0,
0
],
"VolumeDriver": ""
},
"GraphDriver": {
"Name": "aufs",
"Data": null
},
"Mounts": [
{
"Source": "/Users/me/Dev/ng",
"Destination": "/app",
"Mode": "rw",
"RW": true
}
],
"Config": {
"Hostname": "065bd1ade8e8",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": [
"./operate-on-all",
"-w"
],
"Image": "ng_ng",
"Volumes": {
"/app": {}
},
"WorkingDir": "/app",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"com.docker.compose.config-hash": "61b23369c51c25a4a013cfa6364806aba1fe2bd9310f7cf78a2fa0c7d5e0e7ca",
"com.docker.compose.container-number": "1",
"com.docker.compose.oneoff": "False",
"com.docker.compose.project": "ng",
"com.docker.compose.service": "ng",
"com.docker.compose.version": "1.5.2"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": null,
"SandboxKey": "",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"bridge": {
"EndpointID": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": ""
}
}
}
}
]
ng:
build: .
command: ./operate-on-all -w
volumes:
- .:/app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment